-
Notifications
You must be signed in to change notification settings - Fork 546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: ai-proxy support dashscope-finance #1554
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1554 +/- ##
==========================================
+ Coverage 35.91% 43.50% +7.59%
==========================================
Files 69 76 +7
Lines 11576 12325 +749
==========================================
+ Hits 4157 5362 +1205
+ Misses 7104 6627 -477
- Partials 315 336 +21 |
9ce7b74
to
d6f784e
Compare
@@ -188,6 +188,9 @@ type ProviderConfig struct { | |||
// @Title zh-CN 启用通义千问搜索服务 | |||
// @Description zh-CN 仅适用于通义千问服务,表示是否启用通义千问的互联网搜索功能。 | |||
qwenEnableSearch bool `required:"false" yaml:"qwenEnableSearch" json:"qwenEnableSearch"` | |||
// @Title zh-CN 启用通义千问金融云服务服务 | |||
// @Description zh-CN 仅适用于通义千问服务,默认转发域名为 dashscope.aliyuncs.com, 当启用金融云服务时,转发域名为 dashscope-finance.aliyuncs.com | |||
qwenFinanceDomain bool `required:"false" yaml:"qwenFinanceDomain" json:"qwenFinanceDomain"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议通过自定义域名的配置来设置,这样更灵活一些
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
d6f784e
to
f061f8d
Compare
f061f8d
to
40ce59e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ⅰ. Describe what this PR did
解决 issue #1553
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews