Skip to content

fix: resolve Alibaba/Claude redirect and prioritize custom base_url#2921

Open
iborazzi wants to merge 6 commits intoNousResearch:mainfrom
iborazzi:fix/alibaba-claude-routing
Open

fix: resolve Alibaba/Claude redirect and prioritize custom base_url#2921
iborazzi wants to merge 6 commits intoNousResearch:mainfrom
iborazzi:fix/alibaba-claude-routing

Conversation

@iborazzi
Copy link

This PR fixes the issue where Alibaba provider requests were being forced to Anthropic endpoints even when an OpenAI-compatible endpoint was specified. It ensures that:

The base_url from config.yaml is prioritized.

The api_mode is automatically set to chat_completions if the URL contains 'compatible-mode' or 'v1', allowing Alibaba's OpenAI-compatible tier to work correctly.

Prevents the hardcoded redirect to api.anthropic.com when a custom provider URL is present.

iborazzi and others added 6 commits March 17, 2026 14:51
feat(cli): add timestamps to session list
Refactor SlackAdapter methods for improved error handling and code clarity. Update connection logic to check both SLACK_BOT_TOKEN and SLACK_APP_TOKEN. Simplify message formatting and reaction handling.
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