docstring_parser not installed, using fallback docstring parsing .prompt 文件没有找到任何分节($section$) Agent run failed: Client error '400 Bad Request' for url 'https://openrouter.ai/api/v1/chat/completions' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400 ================================================================================ 集成测试 6: 信号驱动机制测试 ================================================================================ 1. 加载任务... ✓ 任务类型: 数据验证模块实现 ✓ 测试重点: 信号机制 ✓ 监控内容: 信号发送、接收、轮询 2. 创建 Agent Runner... - 模型: Claude Sonnet 4.5 - 信号机制: 已启用 ✅ SignalBus 已创建 3. 启动 Agent... ================================================================================ [Trace] 开始: 64d296e2... [OpenRouter] Error 400: {"error":{"message":"Input required: specify \"prompt\" or \"messages\"","code":400},"user_id":"org_37nIBLgwThIyGmEMvDzTcFwuTGo"} [Trace] 失败: Client error '400 Bad Request' for url 'https://openrouter.ai/api/v1/chat/completions' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400 Traceback (most recent call last): File "/Users/elksmmx/Desktop/Agent/examples/integration_test_6/run.py", line 369, in asyncio.run(main()) ~~~~~~~~~~~^^^^^^^^ File "/Users/elksmmx/miniconda3/lib/python3.13/asyncio/runners.py", line 195, in run return runner.run(main) ~~~~~~~~~~^^^^^^ File "/Users/elksmmx/miniconda3/lib/python3.13/asyncio/runners.py", line 118, in run return self._loop.run_until_complete(task) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/Users/elksmmx/miniconda3/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete return future.result() ~~~~~~~~~~~~~^^ File "/Users/elksmmx/Desktop/Agent/examples/integration_test_6/run.py", line 128, in main async for item in runner.run( ...<107 lines>... pass File "/Users/elksmmx/Desktop/Agent/agent/core/runner.py", line 444, in run result = await self.llm_call( ^^^^^^^^^^^^^^^^^^^^ ...<4 lines>... ) ^ File "/Users/elksmmx/Desktop/Agent/agent/llm/openrouter.py", line 131, in llm_call return await openrouter_llm_call(messages, model, tools, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/elksmmx/Desktop/Agent/agent/llm/openrouter.py", line 72, in openrouter_llm_call response.raise_for_status() ~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/Users/elksmmx/miniconda3/lib/python3.13/site-packages/httpx/_models.py", line 829, in raise_for_status raise HTTPStatusError(message, request=request, response=self) httpx.HTTPStatusError: Client error '400 Bad Request' for url 'https://openrouter.ai/api/v1/chat/completions' For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400