Anyone think they can help take a look at this? - https://github.com/Da-Coder-Jr/Computer-Control
I used codex from openAI to build this. I tried to de-bug with AI but no luck. Someone think they could help? Also why always 15 steps? I asked codex to change this but it never does...?
Error:
Stepβ―2/15 ββββββΊββββββββββββββββββββββββββββββββββ
Traceback (most recent call last):
File "<PROJECT_DIR>/computer_control.py", lineβ―161, in <module>
main(
File "<PROJECT_DIR>/computer_control.py", lineβ―70, in main
data = client.query_pollinations(messages)
File "<PROJECT_DIR>/pollinations_client.py", lineβ―174, in query_pollinations
raise RuntimeError(
RuntimeError: Pollinations API returned 400: {
"error": "400 Bad Request",
"status": 400,
"details": {
"error": {
"message": "azure-openai error: An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_rSiJ7LOH5IFcWm8sOFOeHXlE, call_U9Pksnoi2u4rhgwJvrfMfFPc",
"type": "invalid_request_error",
"param": "messages.[3].role",
"code": null
},
"provider": "azure-openai"
}
}