Error-20260425-123816

error iteration

修改:20260425043816000

异常(第 99 轮,连续失败 1 次)

HTTPStatusError: HTTP 400: {"error":{"message":"Instructions are required","type":"invalid_request_error"}}

Traceback (most recent call last):
File "C:\Users\yh599\Documents\GitHub\LLM-yh\Sisyphus\agent.py", line 127, in run
self._one_iteration()
~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\yh599\Documents\GitHub\LLM-yh\Sisyphus\agent.py", line 225, in _one_iteration
trajectory = self._agent_loop(messages, model)
File "C:\Users\yh599\Documents\GitHub\LLM-yh\Sisyphus\agent.py", line 314, in _agent_loop
resp = llm.chat(messages, model=model, tools=tools.schemas(), stream=True)
File "C:\Users\yh599\Documents\GitHub\LLM-yh\Sisyphus\llm.py", line 95, in chat
return _chat_once(body, stream=stream)
File "C:\Users\yh599\Documents\GitHub\LLM-yh\Sisyphus\llm.py", line 139, in _chat_once
raise httpx.HTTPStatusError(
...<2 lines>...
)
httpx.HTTPStatusError: HTTP 400: {"error":{"message":"Instructions are required","type":"invalid_request_error"}}