Commit Graph

1010 Commits

Author SHA1 Message Date
github-actions[bot]
692016c620 chore: sync version to config.py [skip ci] 2025-10-01 16:01:26 +00:00
semantic-release
050c82d6af chore(release): 5.14.0
Automatically generated by python-semantic-release
2025-10-01 16:01:20 +00:00
Fahad
95c4822af2 feat: add Claude Sonnet 4.5 and update alias configuration
- Added anthropic/claude-sonnet-4.5 with sonnet and sonnet4.5 aliases
- Updated sonnet alias to point to newest Sonnet 4.5 (was 4.1)
- Kept sonnet4.1 alias for backwards compatibility with Claude Sonnet 4.1
- All tests updated and passing 100%
2025-10-01 19:57:52 +04:00
Fahad
7efb4094d4 test: update tests to match new Claude Sonnet 4.5 alias configuration
- Updated sonnet alias to point to claude-sonnet-4.5 instead of 4.1
- Removed references to deprecated 'claude' alias
- Added sonnet4.1 alias for claude-sonnet-4.1 backwards compatibility
- All 809 tests passing
2025-10-01 19:57:43 +04:00
github-actions[bot]
c0f822ffa2 chore: sync version to config.py [skip ci] 2025-10-01 15:52:15 +00:00
semantic-release
ce0b59ae14 chore(release): 5.13.0
Automatically generated by python-semantic-release
2025-10-01 15:52:11 +00:00
Fahad
bf9344963f Merge branch 'pr-247-modified' 2025-10-01 19:51:29 +04:00
Fahad
acef7da93c Cleanup 2025-10-01 19:51:24 +04:00
Fahad
dc96344db0 fix: add sonnet alias for Claude Sonnet 4.1 to match opus/haiku pattern 2025-10-01 19:51:15 +04:00
Fahad
484d78d96b Cleanup 2025-10-01 19:46:43 +04:00
Fahad
7371ed6487 fix: missing "optenai/" in name 2025-10-01 19:41:17 +04:00
Fahad
013273ce5b Merge remote-tracking branch 'origin/main' 2025-10-01 19:28:59 +04:00
Fahad
104d09502a test: fixed annotation 2025-10-01 19:28:54 +04:00
github-actions[bot]
b8479fc638 chore: sync version to config.py [skip ci] 2025-10-01 15:28:29 +00:00
semantic-release
fc2a83d24a chore(release): 5.12.1
Automatically generated by python-semantic-release
2025-10-01 15:28:24 +00:00
Beehive Innovations
77caef6f54 Merge pull request #260 from DragonFSKY/fix/consensus-model-context-issue
fix: resolve consensus tool model_context parameter missing issue
2025-10-01 19:27:47 +04:00
github-actions[bot]
e3ebf4e94e chore: sync version to config.py [skip ci] 2025-10-01 14:54:24 +00:00
semantic-release
8ce9ce26e6 chore(release): 5.12.0
Automatically generated by python-semantic-release
2025-10-01 14:54:18 +00:00
Fahad
70fa088c32 feat: implement semantic cassette matching for o3 models
Adds flexible cassette matching that ignores system prompt changes
for o3 models, preventing CI failures when prompts are updated.

Changes:
- Semantic matching: Only compares model name, user question, and core params
- Ignores: System prompts, conversation memory instructions, metadata
- Prevents cassette breaks when prompts change between code versions
- Added comprehensive tests for semantic matching behavior
- Created maintenance documentation (tests/CASSETTE_MAINTENANCE.md)

This solves the CI failure where o3-pro test cassettes would break
whenever system prompts or conversation memory format changed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 18:53:30 +04:00
Fahad
cff6d8998f fix: removed use_websearch; this parameter was confusing Codex. It started using this to prompt the external model to perform searches! web-search is enabled by Claude / Codex etc by default and the external agent can ask claude to search on its behalf. 2025-10-01 18:44:11 +04:00
github-actions[bot]
28cabe0833 chore: sync version to config.py [skip ci] 2025-10-01 14:24:59 +00:00
semantic-release
25441ac147 chore(release): 5.11.2
Automatically generated by python-semantic-release
2025-10-01 14:24:54 +00:00
Beehive Innovations
ea299d18f5 Merge pull request #263 from svnlto/main
fix: respect custom OpenAI model temperature settings (#245)
2025-10-01 18:24:14 +04:00
Beehive Innovations
f51da6e5f8 Merge branch 'main' into main 2025-10-01 18:19:02 +04:00
github-actions[bot]
4d6f1b4100 chore: sync version to config.py [skip ci] 2025-10-01 14:18:15 +00:00
semantic-release
d40ef88ca6 chore(release): 5.11.1
Automatically generated by python-semantic-release
2025-10-01 14:18:10 +00:00
Beehive Innovations
a262128d00 Merge pull request #264 from devondragon/reduce-model-listing-size
fix: Removed Duplicate Model Listings
2025-10-01 18:17:27 +04:00
Devon Hillard
d13700c14c test: Update OpenAI provider alias tests to match new format
Updated test_supported_models_aliases.py to reflect the removal of self-referencing aliases:
- Removed assertion for "o4-mini" in its own aliases (no longer self-referencing)
- Updated "o3-pro" alias test to use "o3pro" (normalized alias format)
- Fixed alias resolution test for o3pro -> o3-pro

These changes align with the fix for duplicate model listings in listmodels output.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 19:08:10 -06:00
Devon Hillard
c29e7623ac fix: Remove duplicate OpenAI models from listmodels output
Fixed issue where OpenAI models appeared twice in listmodels output by:
- Removing self-referencing aliases from OpenAI model definitions (e.g., "gpt-5" no longer includes "gpt-5" in its aliases)
- Adding filter in listmodels.py to skip aliases that match the model name
- Cleaned up inconsistent alias naming (o3-pro -> o3pro)

This ensures each model appears only once in the listing while preserving all useful aliases.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-09 19:00:43 -06:00
Sven Lito
525f4598ce refactor: address code review feedback from Gemini
- Extract restriction checking logic into reusable helper method
- Refactor validate_model_name to reduce code duplication
- Fix logging import by using existing module-level logger
- Clean up test file by removing print statement and main block
- All tests continue to pass after refactoring
2025-09-05 11:04:45 +07:00
github-actions[bot]
fab1f24475 chore: sync version to config.py [skip ci] 2025-09-05 03:54:23 +00:00
Sven Lito
2db1323813 fix: respect custom OpenAI model temperature settings (#245)
- OpenAI provider now checks custom models registry for user configurations
- Custom models with supports_temperature=false no longer send temperature to API
- Fixes 400 errors for custom o3/gpt-5 models configured without temperature support
- Added comprehensive tests to verify the fix works correctly
- Maintains backward compatibility with built-in models

Fixes #245
2025-09-05 10:53:28 +07:00
谢栋梁
0760b31f8a style: fix trailing whitespace in consensus.py
Remove trailing whitespace to pass CI formatting checks
2025-09-03 11:10:02 +08:00
谢栋梁
30a8952fbc refactor: optimize ModelContext creation in consensus tool
Address code review feedback by creating ModelContext instance once
at the beginning of _consult_model method instead of creating it twice.

- Move ModelContext import to method beginning for better practice
- Create single ModelContext instance and reuse for both file processing
  and temperature validation
- Remove redundant ModelContext creation on line 558
- Improve code clarity and efficiency as suggested by code review
2025-09-03 11:03:04 +08:00
谢栋梁
9044b63809 fix: resolve consensus tool model_context parameter missing issue
Fixed runtime bug where _prepare_file_content_for_prompt was called
without required model_context parameter, causing RuntimeError when
processing requests with relevant_files.

- Create ModelContext instance with model_name in _consult_model method
- Pass model_context parameter to _prepare_file_content_for_prompt call
- Add comprehensive regression test to prevent future occurrences
- Maintain consensus tool's blinded design with independent model contexts
2025-09-03 10:55:22 +08:00
谢栋梁
4493a69333 style: fix ruff import sorting issue
Sort dotenv imports alphabetically to comply with ruff I001 rule
2025-09-02 08:58:21 +08:00
谢栋梁
d34c299f02 fix: resolve logging timing and import organization issues
- Move dotenv_values import to top level with load_dotenv
- Fix logging sequence issue by deferring ZEN_MCP_FORCE_ENV_OVERRIDE logs until after logger configuration
- Apply Black formatting to ensure consistent code style
2025-09-02 08:55:25 +08:00
谢栋梁
93ce6987b6 feat: add configurable environment variable override system
Add ZEN_MCP_FORCE_ENV_OVERRIDE configuration to control whether .env file values
override system environment variables. This prevents conflicts when multiple AI
tools pass different cached environment variables to the MCP server.

- Use dotenv_values() to read configuration from .env file only
- Apply conditional override based on configuration setting
- Add appropriate logging for transparency
- Update .env.example with detailed configuration documentation
- Maintains backward compatibility with default behavior (false)
2025-09-02 08:35:06 +08:00
github-actions[bot]
12090646ee chore: sync version to config.py [skip ci] 2025-08-26 07:09:08 +00:00
semantic-release
8749b4c6a8 chore(release): 5.11.0
Automatically generated by python-semantic-release
2025-08-26 07:09:02 +00:00
Fahad
ce56d16240 feat: Codex CLI support
docs: Update instructions to discover uvx automatically, may not be installed system wide
2025-08-26 11:08:16 +04:00
github-actions[bot]
973546990f chore: sync version to config.py [skip ci] 2025-08-24 17:29:59 +00:00
semantic-release
2c74f1e3c6 chore(release): 5.10.3
Automatically generated by python-semantic-release
2025-08-24 17:29:54 +00:00
Beehive Innovations
472c13bb2e Merge pull request #253 from svnlto/fix/consensus-temperature-handling
fix: resolve temperature handling issues for O3/custom models (#245)
2025-08-24 21:29:14 +04:00
github-actions[bot]
d6e6808be5 chore: sync version to config.py [skip ci] 2025-08-24 17:25:59 +00:00
semantic-release
f3dbe06fea chore(release): 5.10.2
Automatically generated by python-semantic-release
2025-08-24 17:25:54 +00:00
Fahad
a07036e680 fix: another fix for https://github.com/BeehiveInnovations/zen-mcp-server/issues/251 2025-08-24 21:25:01 +04:00
Sven Lito
6bd9d6709a fix: address test failures and PR feedback
- Fix ModelContext constructor call in consensus tool (remove invalid parameters)
- Refactor temperature pattern matching for better readability per code review
- All tests now passing (799/799 passed)
2025-08-23 18:50:49 +07:00
Sven Lito
3b4fd88d7e fix: resolve temperature handling issues for O3/custom models (#245)
- Fix consensus tool hardcoded temperature=0.2 bypassing model capabilities
- Add intelligent temperature inference for unknown custom models
- Support multi-model collaboration (O3, Gemini, Claude, Mistral, DeepSeek)
- Only OpenAI O-series and DeepSeek reasoner models reject temperature
- Most reasoning models (Gemini Pro, Claude, Mistral) DO support temperature
- Comprehensive logging for temperature decisions and user guidance

Resolves: https://github.com/BeehiveInnovations/zen-mcp-server/issues/245
2025-08-23 18:43:51 +07:00
github-actions[bot]
9da5c37809 chore: sync version to config.py [skip ci] 2025-08-23 10:04:26 +00:00