Skip to content

Conversation

@ImSingee
Copy link
Contributor

I think this is useful for several reasons:

  1. It's possible to use any unofficial services with OpenAI responses or the claude API format
  2. For Codestral, it's possible to use the official free version (https://codestral.mistral.ai)

Because the Resources' definition isn't included in the code (it's synced from the hub), this PR can't modify it.

@centdix
Copy link
Collaborator

centdix commented Jan 6, 2026

I think this is useful for several reasons:

  1. It's possible to use any unofficial services with OpenAI responses or the claude API format
  2. For Codestral, it's possible to use the official free version (https://codestral.mistral.ai)

Because the Resources' definition isn't included in the code (it's synced from the hub), this PR can't modify it.

Hi, thanks for the PR. Why would using custom provider not be enough to be able to use any base_url ?

@ImSingee
Copy link
Contributor Author

ImSingee commented Jan 7, 2026

@centdix Just as my previous said, the custom provider can only provide /chat/completion API, but others are still valable

@centdix
Copy link
Collaborator

centdix commented Jan 22, 2026

@centdix Just as my previous said, the custom provider can only provide /chat/completion API, but others are still valable

Hi, coming back to this, I'm adding support for it in one of my PR, thanks for the suggestion !

@centdix centdix closed this Jan 22, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants