Skip to content

feat: split openrouter schema from openai types; util to convert gemini compatibale json schema#28

Merged
Linusp merged 6 commits into
monsternlp:masterfrom
Lunaticus7:feat/json_schema
Apr 2, 2026
Merged

feat: split openrouter schema from openai types; util to convert gemini compatibale json schema#28
Linusp merged 6 commits into
monsternlp:masterfrom
Lunaticus7:feat/json_schema

Conversation

@Lunaticus7

Copy link
Copy Markdown
Contributor

No description provided.

Keep OpenAI request models focused on the supported OpenAI chat-completions subset and move OpenRouter-only reasoning types into the OpenRouter layer.

Made-with: Cursor
Map OpenAI thinking settings through reasoning_effort, preserve json_schema response formats during request conversion, and keep tool-call-only assistant messages compatible with the OpenAI chat format.

Made-with: Cursor
Rename the internal ResponseSchema field to json_schema while preserving the external schema alias so Pydantic no longer emits the field shadowing warning.

Made-with: Cursor
@Linusp Linusp merged commit 6ffa324 into monsternlp:master Apr 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants