mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add AWS Bedrock support (#20507)
Depends on https://github.com/coder/aibridge/pull/44 Closes https://github.com/coder/aibridge/issues/28 --------- Signed-off-by: Danny Kopping <danny@coder.com>
This commit is contained in:
Generated
+10
@@ -16,11 +16,21 @@ export interface AIBridgeAnthropicConfig {
|
||||
readonly key: string;
|
||||
}
|
||||
|
||||
// From codersdk/deployment.go
|
||||
export interface AIBridgeBedrockConfig {
|
||||
readonly region: string;
|
||||
readonly access_key: string;
|
||||
readonly access_key_secret: string;
|
||||
readonly model: string;
|
||||
readonly small_fast_model: string;
|
||||
}
|
||||
|
||||
// From codersdk/deployment.go
|
||||
export interface AIBridgeConfig {
|
||||
readonly enabled: boolean;
|
||||
readonly openai: AIBridgeOpenAIConfig;
|
||||
readonly anthropic: AIBridgeAnthropicConfig;
|
||||
readonly bedrock: AIBridgeBedrockConfig;
|
||||
}
|
||||
|
||||
// From codersdk/aibridge.go
|
||||
|
||||
Reference in New Issue
Block a user