Skip to content

Additional model support - #117

Merged
leoveanv merged 7 commits into
mainfrom
dev
Oct 1, 2026
Merged

leoveanv merged 7 commits into
mainfrom
dev

Conversation

@markhofm

@markhofm markhofm commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

…-5-1; thinking-off per model (omit / between_tools), effort kept, forced tool_choice rejected locally
…explicit cache, cache-write prices); no gpt-6-terra in OpenAI's model list
…e-5-1, gpt-6.1-sol, gpt-6-luna, gemini-3.8-flash, gemini-3.5-flash-lite
Copilot AI balanced review requested due to automatic review settings October 1, 2026 12:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Gemini token-budget handling is incompatible with the new models, and Anthropic cache-write pricing mismatches the default TTL.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Adds newly released OpenAI, Gemini, and Anthropic models with provider-specific reasoning, caching, pricing, and structured-output behavior.

Changes:

  • Registers new models and capabilities across three providers.
  • Adds reasoning/thinking validation and Anthropic thinking-mode translation.
  • Expands unit, live smoke, caching, and documentation coverage.
File Description
symai/​backend/​engines/​neurosymbolic/​openai/​models.py Adds GPT-6.1 Sol and GPT-6 Luna specifications.
symai/​backend/​engines/​neurosymbolic/​google/​models.py Adds Gemini 3.5 Flash-Lite and 3.8 Flash specifications.
symai/​backend/​engines/​neurosymbolic/​google/​engine.py Validates model-specific thinking levels.
symai/​backend/​engines/​neurosymbolic/​anthropic/​models.py Adds Claude 5.x specifications and thinking-off behavior.
symai/​backend/​engines/​neurosymbolic/​anthropic/​engine.py Handles adaptive thinking and output configuration merging.
tests/​engines/​neurosymbolic/​interface.py Updates shared unsupported-cache behavior tests.
tests/​engines/​neurosymbolic/​test_openai.py Tests new OpenAI models and live requests.
tests/​engines/​neurosymbolic/​test_google.py Tests new Gemini models and thinking levels.
tests/​engines/​neurosymbolic/​test_anthropic.py Tests new Claude models and thinking behavior.
docs/​source/​ENGINES/​neurosymbolic_engine.md Documents newly supported models and controls.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +54 to +56
# NOTE: cache_write is the 5-minute TTL rate (1.25x input); a 1h TTL write,
# the engine's default cache_control, bills 2x input.
pricing=ModelPricing(input=10.00, output=50.00, cached_input=0.25, cache_write=12.50),
if isinstance(thinking, dict) and self.is_reasoning_model():
thinking_config = {"includeThoughts": True}
if "thinking_level" in thinking:
self._validate_thinking_level(model, thinking["thinking_level"], spec)
@leoveanv
leoveanv merged commit 8422613 into main Oct 1, 2026
6 of 8 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.

3 participants