fuzhengwei / fuzhengwei/WaLiAPI

v0.1.6 codex重新连接报错

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
128
Forks
39
Avg merge
15h 25m
Merged PRs (30d)
44

Description

unexpected status 502 Bad Gateway: All channels failed for model agnes-2.0-flash after 1 attempt(s): agnes: {"error":{"message":"***.BadRequestError: OpenAIException - {\"object\":\"error\",\"message\":\"Assistant tool call ***.arguments must be valid JSON.\",\"type\":\"BadRequest\",\"param\":null,\"code\":400}","type":"upstream_error","param":"","code":"400"}}, url: http://127.0.0.1:8777/v1/responses

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Codex reconnection failure against the local /v1/responses endpoint and inspect how the upstream tool-call error is translated into a 502. Trace the handling of the invalid JSON in Assistant tool call arguments; done means reconnection no longer returns the reported 502 and valid tool-call requests still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.