Skip to content

feat(openai-compat): honor OpenAI tool_choice on /v1 when tools passthrough is enabled #77

Description

@cidrblock

Context

PR for #73 adds opt-in tools passthrough on /v1/chat/completions but does not map OpenAI tool_choice (auto / none / required / specific function). Provider defaults apply.

Flagged during implementation of #73.

Proposal

When openai_compat tools mode is passthrough, forward or map tool_choice through the chat/AI SDK path so clients (e.g. Open WebUI) can force or suppress tool use.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions