Skip to content

fix: improve OpenAI and Anthropic compatible provider types#1718

Merged
tusharmath merged 2 commits intotailcallhq:mainfrom
manthanabc:provider
Oct 13, 2025
Merged

fix: improve OpenAI and Anthropic compatible provider types#1718
tusharmath merged 2 commits intotailcallhq:mainfrom
manthanabc:provider

Conversation

@manthanabc
Copy link
Copy Markdown
Contributor

Openai compatible providers dont work as expected, the requests for models are passed to default URL instead of the custom URL

Reproducing

set OPENAI_URL=..
sets OPENAI_API_KEY=..

starting forge shows failed to fetch models

Changes

Made Compatible providers as a separate provider type, simplifying the resolution logic and added tests

Todo

[] test with custom anthropic provider

@github-actions github-actions Bot added the type: fix Iterations on existing features or infrastructure. label Oct 12, 2025
@tusharmath tusharmath changed the title Fix Openai compatible providers feat: add OpenAI and Anthropic compatible provider types Oct 13, 2025
@tusharmath tusharmath merged commit 4ec95c1 into tailcallhq:main Oct 13, 2025
9 checks passed
@tusharmath tusharmath changed the title feat: add OpenAI and Anthropic compatible provider types fix: add OpenAI and Anthropic compatible provider types Oct 13, 2025
@tusharmath tusharmath changed the title fix: add OpenAI and Anthropic compatible provider types fix: improve OpenAI and Anthropic compatible provider types Oct 13, 2025
@manthanabc manthanabc deleted the provider branch December 21, 2025 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Iterations on existing features or infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants