|
|
@@ -43,6 +43,8 @@ from agent.llm import create_openrouter_llm_call
|
|
|
from agent.tools import get_tool_registry
|
|
|
|
|
|
DEFAULT_MODEL = "anthropic/claude-sonnet-4.5"
|
|
|
+# DEFAULT_MODEL = "google/gemini-3-flash-preview"
|
|
|
+
|
|
|
|
|
|
# ===== 非阻塞 stdin 检测 =====
|
|
|
if sys.platform == 'win32':
|
|
|
@@ -352,7 +354,7 @@ async def main():
|
|
|
store = FileSystemTraceStore(base_path=".trace")
|
|
|
runner = AgentRunner(
|
|
|
trace_store=store,
|
|
|
- llm_call=create_openrouter_llm_call(model=DEFAULT_MODEL),
|
|
|
+ llm_call=create_openrouter_llm_call(model=prompt.config.get('model', DEFAULT_MODEL)),
|
|
|
skills_dir=skills_dir,
|
|
|
experiences_path="./.cache/experiences.md",
|
|
|
debug=True
|