Skip to content

fix(openai-compat): preserve Responses Lite tools - #898

Open
Alchemilla1 wants to merge 1 commit into
kittors:devfrom
Alchemilla1:fix/responses-lite-openai-compat-tools
Open

fix(openai-compat): preserve Responses Lite tools#898
Alchemilla1 wants to merge 1 commit into
kittors:devfrom
Alchemilla1:fix/responses-lite-openai-compat-tools

Conversation

@Alchemilla1

@Alchemilla1 Alchemilla1 commented Aug 17, 2026

Copy link
Copy Markdown

Summary

  • Preserve Responses Lite tools declared directly or inside namespaces when converting requests for OpenAI-compatible providers.
  • Wrap custom-tool input for Chat Completions and restore custom and function calls in streaming and non-streaming responses.
  • Forward only tools declared by the client.

OpenAI documents both top-level function tools and namespaced tools in the Responses API: https://developers.openai.com/api/docs/guides/tools

Verification

  • go test ./internal/translator/openai/openai/responses -count=1
  • go test ./internal/runtime/executor -run TestOpenAICompatExecutor -count=1
  • go test ./internal/translator/codex/openai/responses -count=1

@Alchemilla1 Alchemilla1 changed the title fix(openai-compat): preserve Responses Lite tools fix(openai-compat): support Responses Lite tool declarations Aug 17, 2026
@Alchemilla1
Alchemilla1 force-pushed the fix/responses-lite-openai-compat-tools branch from ae35371 to 632e71d Compare August 17, 2026 17:52
@Alchemilla1 Alchemilla1 changed the title fix(openai-compat): support Responses Lite tool declarations fix(openai-compat): preserve Responses Lite tools Aug 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.

1 participant