When integrating another API, Codex’s tools cannot be invoked correctly

Resolved 💬 4 comments Opened Oct 30, 2025 by chenming0v0 Closed Jan 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

0.4.31

What subscription do you have?

暂无订阅,使用第三方的claude-sonnet-4-5

Which IDE are you using?

VS Code

What platform is your computer?

Windows的wsl:ubantu

What issue are you seeing?

我在使用其他api时,我的ai无法正确调用codex的工具

What steps can reproduce the bug?

接入一个第三方的api使用codex

What is the expected behavior?

可以正确的使用工具

Additional information

<img width="472" height="596" alt="Image" src="https://github.com/user-attachments/assets/c84ab8b3-974e-469c-95c7-b87ef77ae954" />

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5903
  • #5919
  • #1539
  • #2031

Powered by Codex Action

etraut-openai contributor · 10 months ago

Here's an English translation from ChatGPT...

VS Code extension version: 0.4.31

Subscription: None; using a third-party “claude-sonnet-4-5”

IDE: VS Code

Platform: WSL on Windows (Ubuntu in WSL)

What issue are you seeing?

“When I use another API, my AI can’t correctly call Codex’s tools.”

Steps to reproduce:

Integrate a third-party API while using Codex

Expected behavior:

The tools should be usable correctly

Additional information:
(There is an image attached by the reporter.)

etraut-openai contributor · 10 months ago

Am I understanding correctly that you're trying to use the Claude Sonnet model with the Codex VS Code Extension?

Are you configuring this manually in your config.toml file? If so, could you provide the relevant lines in your config file?

etraut-openai contributor · 7 months ago

Closing because no response.