-
Notifications
You must be signed in to change notification settings - Fork 376
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: add azure-director #5974
feat: add azure-director #5974
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #5974 +/- ##
==========================================
+ Coverage 22.18% 22.21% +0.03%
==========================================
Files 1880 1880
Lines 208425 208490 +65
==========================================
+ Hits 46231 46322 +91
+ Misses 156903 156875 -28
- Partials 5291 5293 +2
|
`enabled` BOOLEAN NOT NULL DEFAULT true COMMENT '是否启用该凭证', | ||
`expired_at` DATETIME NOT NULL DEFAULT '2099-01-01 00:00:00' COMMENT '凭证过期时间', | ||
|
||
`provider_name` VARCHAR(64) NOT NULL DEFAULT '' COMMENT 'AI 服务 Provider 名称', |
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.
enlarge field size
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.
add examples in comment
|
||
rpc DeleteProvider(Provider) returns (common.VoidResponse) { | ||
option(google.api.http) = { | ||
delete: "/api/ai-proxy/providers/{name}/{instanceId}" |
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.
/api/ai-proxy/providers/{name}/instances/{instanceId}
cmd/ai-proxy/conf/providers.yml
Outdated
metadata: | ||
RESOURCE_NAME: "terminus3" | ||
DEVELOPMENT_NAME: "gpt-35-turbo-0301" | ||
|
||
- name: azure | ||
instanceId: terminus2 |
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.
instanceId should be composed with resource_name & deployment_name
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.
/approve
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.
/approve
/approve |
What this PR does / why we need it:
feat: add azure-director
Which issue(s) this PR fixes:
Specified Reviewers:
/assign @your-reviewer
ChangeLog
Need cherry-pick to release versions?
Add comment like
/cherry-pick release/1.0
when this PR is merged.