Talegorithm hace 1 semana
padre
commit
5229f1a145
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      examples/how/run.py

+ 2 - 2
examples/how/run.py

@@ -38,7 +38,7 @@ from agent.trace import (
     Trace,
     Message,
 )
-from agent.llm import create_yescode_llm_call
+from agent.llm import create_openrouter_llm_call
 
 
 # ===== 非阻塞 stdin 检测 =====
@@ -251,7 +251,7 @@ async def main():
     store = FileSystemTraceStore(base_path=".trace")
     runner = AgentRunner(
         trace_store=store,
-        llm_call=create_yescode_llm_call(model=f"claude-{prompt.config.get('model', 'sonnet-4.5')}"),
+        llm_call=create_openrouter_llm_call(model=f"anthropic/claude-{prompt.config.get('model', 'sonnet-4.5')}"),
         skills_dir=skills_dir,
         debug=True
     )