Skip to content

fix: codex agent 400 error#102

Merged
lxowalle merged 1 commit intosipeed:mainfrom
zenixls2:main
Feb 16, 2026
Merged

fix: codex agent 400 error#102
lxowalle merged 1 commit intosipeed:mainfrom
zenixls2:main

Conversation

@zenixls2
Copy link
Contributor

@zenixls2 zenixls2 commented Feb 13, 2026

when we use auth login to access the codex backend using the
picoclaw agent -m 'Hello'
command, the call failed with

error=codex API call: POST "https://chatgpt.com/backend-api/codex/responses": 400 Bad Request. 

Changes to openAI stream API.
Remove some of the unsupported parameters.

@zenixls2 zenixls2 force-pushed the main branch 2 times, most recently from 8f69e41 to 480a231 Compare February 14, 2026 00:51
@203Null
Copy link

203Null commented Feb 14, 2026

I tried it and it seems like there are some issues with the tool call

image

@zenixls2
Copy link
Contributor Author

@203Null you may need to auth login again

@lxowalle
Copy link
Collaborator

Hi @zenixls2 , Thanks for the pr. Can you fix the code to ensure the pr-check passes?

@zenixls2
Copy link
Contributor Author

codex api doesn't support temperature.
In last version in main, this is still failing.

@lxowalle
Copy link
Collaborator

Thanks!

@lxowalle lxowalle merged commit 0cb9387 into sipeed:main Feb 16, 2026
3 checks passed
@zenixls2
Copy link
Contributor Author

@lxowalle please check on my latest pr.
Originally that should be shipped with this one together.

edgargomero pushed a commit to edgargomero/kntorclaw that referenced this pull request Feb 16, 2026
emadomedher pushed a commit to emadomedher/picoclaw that referenced this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants