Skip to content

Conversation

@zhujian0805
Copy link
Collaborator

  • fix: update engine type determination for OpenAI-compatible APIs
  • fix: enhance engine type detection to override incorrect anthropic configs
  • fix goose
  • fix goose
  • fix droid

James Zhu and others added 5 commits December 25, 2025 08:27
- Improved _determine_engine_type() method to better detect OpenAI-compatible APIs
- Added pattern matching for common OpenAI-compatible service names like 'copilot', 'litellm', 'dashscope', 'qwen'
- Enhanced URL pattern detection for OpenAI-compatible endpoints
- Default to 'openai' engine for most API-compatible endpoints
- This fixes the issue where OpenAI-compatible endpoints were incorrectly labeled as 'anthropic'

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

Co-Authored-By: Claude <noreply@anthropic.com>
…nfigs

- Enhanced _determine_engine_type() method to override incorrectly set 'anthropic' engine type
- Added logic to detect when existing 'anthropic' config should be overridden for OpenAI-compatible endpoints
- Specifically targets common OpenAI-compatible services like 'copilot', 'litellm', 'dashscope', 'qwen'
- Maintains existing correct engine types while fixing incorrect ones
- This addresses the issue where existing configurations with incorrect 'engine': 'anthropic' are properly corrected

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

Co-Authored-By: Claude <noreply@anthropic.com>
@zhujian0805 zhujian0805 merged commit ce8da86 into Chat2AnyLLM:main Dec 25, 2025
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.

1 participant