Skip to content

[FR] support query params in OpenAI-compatible provider config #489

Closed

Description

@andy-lz

I use a private provider which exposes an OpenAI-compatible API with required query parameters. I see that the Vercel AI SDK supports queryParams: https://ai-sdk.dev/providers/openai-compatible-providers

It would be helpful if Sourcebot enabled a passthrough for query params to createOpenAICompatible().

Activity

  1. brendan-kellam commented on Sep 4, 2025

    @brendan-kellam
    Contributor

    Thanks for the FR - I just pushed a change that adds a queryParams key to the config. If you could try this with the ghcr.io/sourcebot-dev/sourcebot:main image and let me know if it works for you, that would be great!

  2. andy-lz commented on Sep 5, 2025

    @andy-lz
    Author

    It works! Thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions