Skip to content

Conversation

@Patrisam
Copy link
Contributor

@Patrisam Patrisam commented Nov 2, 2025

为了e2e测试能顺利通过Ollama,增加了其路径

Comment on lines +89 to 91
case "openai", "ai360", "deepseek", "together", "baichuan", "yi", "ollama", "stepfun":
// 这些provider都使用OpenAI兼容的格式,调用openAiProvider
server.POST("/v1/chat/completions", chatCompletionsHandlers["openai"].HandleChatCompletions)
Copy link
Member

Choose a reason for hiding this comment

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

这里mock-server启动的时候应该不会指定对应的providerType参数,默认走的是default中的逻辑,应该会启用所有路由,应该和e2e那边的报错没有关系
image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

谢谢老师,我在本地配置环境运行一下,再排查一下是什么问题

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