Skip to content

fix: bridge codex function tool calls back to openai clients#209

Merged
github-actions[bot] merged 1 commit intomainfrom
hotfix/codex-tool-calls-2026-04-08
Apr 8, 2026
Merged

fix: bridge codex function tool calls back to openai clients#209
github-actions[bot] merged 1 commit intomainfrom
hotfix/codex-tool-calls-2026-04-08

Conversation

@typelicious
Copy link
Copy Markdown
Collaborator

Summary

  • forward OpenAI-style tools and tool_choice to the ChatGPT Codex responses endpoint
  • translate Codex function-call events back into OpenAI-compatible tool_calls for both non-stream and stream responses
  • bump to v2.1.6 and cover the Codenomad-style tool path with provider regression tests

Validation

  • rtk ruff check --no-cache faigate/providers.py tests/test_providers.py
  • python3 -m pytest -q tests/test_providers.py
  • local smoke against a temporary Gate instance with tools=[respira_get_site_context] returned finish_reason=tool_calls and a real tool_calls block on faigate/openai-codex-5.4-medium

@github-actions github-actions bot enabled auto-merge (squash) April 8, 2026 18:16
@typelicious typelicious force-pushed the hotfix/codex-tool-calls-2026-04-08 branch from a2f8a12 to dc403a8 Compare April 8, 2026 18:20
@github-actions github-actions bot merged commit 91207f6 into main Apr 8, 2026
18 checks passed
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.

1 participant