fix: add api_key_env to honcho model_config
This commit is contained in:
@@ -50,6 +50,7 @@ FLUSH_ENABLED = true
|
|||||||
transport = "openai"
|
transport = "openai"
|
||||||
model = "deepseek-v4-flash"
|
model = "deepseek-v4-flash"
|
||||||
base_url = "https://opencode.ai/zen/go/v1"
|
base_url = "https://opencode.ai/zen/go/v1"
|
||||||
|
api_key_env = "OPENAI_API_KEY"
|
||||||
|
|
||||||
# --- Dialectic ---
|
# --- Dialectic ---
|
||||||
[dialectic]
|
[dialectic]
|
||||||
@@ -63,6 +64,7 @@ MAX_OUTPUT_TOKENS = 512
|
|||||||
transport = "openai"
|
transport = "openai"
|
||||||
model = "deepseek-v4-flash"
|
model = "deepseek-v4-flash"
|
||||||
base_url = "https://opencode.ai/zen/go/v1"
|
base_url = "https://opencode.ai/zen/go/v1"
|
||||||
|
api_key_env = "OPENAI_API_KEY"
|
||||||
|
|
||||||
[dialectic.levels.low]
|
[dialectic.levels.low]
|
||||||
MAX_TOOL_ITERATIONS = 3
|
MAX_TOOL_ITERATIONS = 3
|
||||||
@@ -70,6 +72,7 @@ MAX_TOOL_ITERATIONS = 3
|
|||||||
transport = "openai"
|
transport = "openai"
|
||||||
model = "deepseek-v4-flash"
|
model = "deepseek-v4-flash"
|
||||||
base_url = "https://opencode.ai/zen/go/v1"
|
base_url = "https://opencode.ai/zen/go/v1"
|
||||||
|
api_key_env = "OPENAI_API_KEY"
|
||||||
|
|
||||||
[dialectic.levels.medium]
|
[dialectic.levels.medium]
|
||||||
MAX_TOOL_ITERATIONS = 2
|
MAX_TOOL_ITERATIONS = 2
|
||||||
@@ -77,6 +80,7 @@ MAX_TOOL_ITERATIONS = 2
|
|||||||
transport = "openai"
|
transport = "openai"
|
||||||
model = "deepseek-v4-flash"
|
model = "deepseek-v4-flash"
|
||||||
base_url = "https://opencode.ai/zen/go/v1"
|
base_url = "https://opencode.ai/zen/go/v1"
|
||||||
|
api_key_env = "OPENAI_API_KEY"
|
||||||
|
|
||||||
[dialectic.levels.high]
|
[dialectic.levels.high]
|
||||||
MAX_TOOL_ITERATIONS = 4
|
MAX_TOOL_ITERATIONS = 4
|
||||||
@@ -84,6 +88,7 @@ MAX_TOOL_ITERATIONS = 4
|
|||||||
transport = "openai"
|
transport = "openai"
|
||||||
model = "deepseek-v4-flash"
|
model = "deepseek-v4-flash"
|
||||||
base_url = "https://opencode.ai/zen/go/v1"
|
base_url = "https://opencode.ai/zen/go/v1"
|
||||||
|
api_key_env = "OPENAI_API_KEY"
|
||||||
|
|
||||||
[dialectic.levels.max]
|
[dialectic.levels.max]
|
||||||
MAX_TOOL_ITERATIONS = 10
|
MAX_TOOL_ITERATIONS = 10
|
||||||
@@ -91,6 +96,7 @@ MAX_TOOL_ITERATIONS = 10
|
|||||||
transport = "openai"
|
transport = "openai"
|
||||||
model = "deepseek-v4-flash"
|
model = "deepseek-v4-flash"
|
||||||
base_url = "https://opencode.ai/zen/go/v1"
|
base_url = "https://opencode.ai/zen/go/v1"
|
||||||
|
api_key_env = "OPENAI_API_KEY"
|
||||||
|
|
||||||
# --- Summary ---
|
# --- Summary ---
|
||||||
[summary]
|
[summary]
|
||||||
@@ -102,6 +108,7 @@ MESSAGES_PER_LONG_SUMMARY = 60
|
|||||||
transport = "openai"
|
transport = "openai"
|
||||||
model = "deepseek-v4-flash"
|
model = "deepseek-v4-flash"
|
||||||
base_url = "https://opencode.ai/zen/go/v1"
|
base_url = "https://opencode.ai/zen/go/v1"
|
||||||
|
api_key_env = "OPENAI_API_KEY"
|
||||||
|
|
||||||
# --- Dream ---
|
# --- Dream ---
|
||||||
[dream]
|
[dream]
|
||||||
|
|||||||
Reference in New Issue
Block a user