Repository navigation
feat(py/openai): send Mistral's field names when base_url points at Mistral #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
a1510f8
feat(openai): send Mistral's field names when base_url is api.mistral.ai
adesinah d375efb
test(openai): cover Mistral request bodies against a fake server
adesinah 9bed258
docs(openai): document the Mistral base_url recipe
adesinah fbb75a8
feat(py/openai): read Mistral thinking chunks, cover Codestral, forwa…
adesinah 1c1d930
test(py/openai): enforce Mistral's closed schema in the fake server
adesinah 70c5c50
docs(py/openai): Codestral host, api_key, reasoning and embedder note…
adesinah fc5aaba
chore(py/openai): merge main into feat/ai-832-mistral-openai-compat
adesinah 8a22747
feat(py/openai): replay Mistral reasoning, map model_length, add EU/U…
adesinah b8c74fd
test(py/openai): cover Mistral reasoning replay, regional hosts and m…
adesinah 904466d
docs(py/openai): describe Mistral reasoning via reasoning_effort and …
adesinah f789566
fix(py/openai): refuse top_k for Mistral before the request goes out
adesinah f446cad
fix(py/openai): replay only Mistral's reasoning, read MISTRAL_API_KEY…
adesinah 0a8c4ca
fix(py/openai): replay each Mistral reasoning part as its own thinkin…
adesinah b85445e
fix(py/openai): default provider='mistral' to Mistral's base URL
adesinah 667a87c
fix(py/openai): explain an ignored OPENAI_API_KEY and never hand Mist…
adesinah e5abec1
fix(py/openai): keep streamed signed thinking chunks as separate parts
adesinah 7acd17e
fix(py/openai): accept reasoning_effort='max' for Mistral
adesinah 19432fa
fix(py/openai): refuse non-image media for Mistral before the request
adesinah 1351476
fix(py/openai): keep Mistral reasoning and text in the order they came
adesinah 66e0b49
fix(py/openai): leave out OpenAI-only settings Mistral doesn't declare
adesinah a1476d2
feat(py/openai): name a Mistral target mistral and list it by capabil…
adesinah 04cd7db
fix(py/openai): refuse logprobs on Mistral
adesinah 53a9196
Merge remote-tracking branch 'origin/main' into HEAD
adesinah bdca0b7
fix(py/openai): keep json_object for Mistral ids outside the catalog
adesinah File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.