mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-24 11:14:23 +01:00
feat: configure context paths (#86)
This commit is contained in:
@@ -12,33 +12,33 @@
|
||||
"model": {
|
||||
"description": "Model ID for the agent",
|
||||
"enum": [
|
||||
"claude-3.7-sonnet",
|
||||
"claude-3-opus",
|
||||
"gpt-4.1-mini",
|
||||
"gpt-4o",
|
||||
"gpt-4o-mini",
|
||||
"gemini-2.0-flash-lite",
|
||||
"meta-llama/llama-4-maverick-17b-128e-instruct",
|
||||
"gpt-4.1",
|
||||
"gpt-4.5-preview",
|
||||
"o1",
|
||||
"gpt-4.1-nano",
|
||||
"o3-mini",
|
||||
"gemini-2.5-flash",
|
||||
"gemini-2.0-flash",
|
||||
"meta-llama/llama-4-scout-17b-16e-instruct",
|
||||
"bedrock.claude-3.7-sonnet",
|
||||
"o1-pro",
|
||||
"o3",
|
||||
"gemini-2.5",
|
||||
"qwen-qwq",
|
||||
"llama-3.3-70b-versatile",
|
||||
"deepseek-r1-distill-llama-70b",
|
||||
"claude-3.5-sonnet",
|
||||
"claude-3-haiku",
|
||||
"claude-3.7-sonnet",
|
||||
"claude-3.5-haiku",
|
||||
"o3",
|
||||
"gpt-4.5-preview",
|
||||
"o1-pro",
|
||||
"o4-mini",
|
||||
"o1-mini"
|
||||
"gpt-4.1",
|
||||
"o3-mini",
|
||||
"gpt-4.1-nano",
|
||||
"gpt-4o-mini",
|
||||
"o1",
|
||||
"gemini-2.5-flash",
|
||||
"qwen-qwq",
|
||||
"meta-llama/llama-4-maverick-17b-128e-instruct",
|
||||
"claude-3-opus",
|
||||
"gpt-4o",
|
||||
"gemini-2.0-flash-lite",
|
||||
"gemini-2.0-flash",
|
||||
"deepseek-r1-distill-llama-70b",
|
||||
"llama-3.3-70b-versatile",
|
||||
"claude-3.5-sonnet",
|
||||
"o1-mini",
|
||||
"gpt-4.1-mini",
|
||||
"gemini-2.5",
|
||||
"meta-llama/llama-4-scout-17b-16e-instruct"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -72,33 +72,33 @@
|
||||
"model": {
|
||||
"description": "Model ID for the agent",
|
||||
"enum": [
|
||||
"claude-3.7-sonnet",
|
||||
"claude-3-opus",
|
||||
"gpt-4.1-mini",
|
||||
"gpt-4o",
|
||||
"gpt-4o-mini",
|
||||
"gemini-2.0-flash-lite",
|
||||
"meta-llama/llama-4-maverick-17b-128e-instruct",
|
||||
"gpt-4.1",
|
||||
"gpt-4.5-preview",
|
||||
"o1",
|
||||
"gpt-4.1-nano",
|
||||
"o3-mini",
|
||||
"gemini-2.5-flash",
|
||||
"gemini-2.0-flash",
|
||||
"meta-llama/llama-4-scout-17b-16e-instruct",
|
||||
"bedrock.claude-3.7-sonnet",
|
||||
"o1-pro",
|
||||
"o3",
|
||||
"gemini-2.5",
|
||||
"qwen-qwq",
|
||||
"llama-3.3-70b-versatile",
|
||||
"deepseek-r1-distill-llama-70b",
|
||||
"claude-3.5-sonnet",
|
||||
"claude-3-haiku",
|
||||
"claude-3.7-sonnet",
|
||||
"claude-3.5-haiku",
|
||||
"o3",
|
||||
"gpt-4.5-preview",
|
||||
"o1-pro",
|
||||
"o4-mini",
|
||||
"o1-mini"
|
||||
"gpt-4.1",
|
||||
"o3-mini",
|
||||
"gpt-4.1-nano",
|
||||
"gpt-4o-mini",
|
||||
"o1",
|
||||
"gemini-2.5-flash",
|
||||
"qwen-qwq",
|
||||
"meta-llama/llama-4-maverick-17b-128e-instruct",
|
||||
"claude-3-opus",
|
||||
"gpt-4o",
|
||||
"gemini-2.0-flash-lite",
|
||||
"gemini-2.0-flash",
|
||||
"deepseek-r1-distill-llama-70b",
|
||||
"llama-3.3-70b-versatile",
|
||||
"claude-3.5-sonnet",
|
||||
"o1-mini",
|
||||
"gpt-4.1-mini",
|
||||
"gemini-2.5",
|
||||
"meta-llama/llama-4-scout-17b-16e-instruct"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
@@ -131,6 +131,26 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"contextPaths": {
|
||||
"default": [
|
||||
".github/copilot-instructions.md",
|
||||
".cursorrules",
|
||||
".cursor/rules/",
|
||||
"CLAUDE.md",
|
||||
"CLAUDE.local.md",
|
||||
"opencode.md",
|
||||
"opencode.local.md",
|
||||
"OpenCode.md",
|
||||
"OpenCode.local.md",
|
||||
"OPENCODE.md",
|
||||
"OPENCODE.local.md"
|
||||
],
|
||||
"description": "Context paths for the application",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"data": {
|
||||
"description": "Storage configuration",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user