Update text in permissions

This commit is contained in:
Saoud Rizwan
2024-08-03 19:22:06 -04:00
parent 582d178157
commit 0ac7f63332
2 changed files with 4 additions and 4 deletions

View File

@@ -31,6 +31,6 @@ export function buildApiHandler(configuration: ApiConfiguration): ApiHandler {
case "bedrock":
return new AwsBedrockHandler(options)
default:
throw new Error(`Unknown API provider: ${apiProvider}`)
return new AnthropicHandler(options)
}
}

View File

@@ -43,7 +43,7 @@ const ApiOptions: React.FC<ApiOptionsProps> = ({ apiConfiguration, setApiConfigu
marginTop: "5px",
color: "var(--vscode-descriptionForeground)",
}}>
This key is stored locally and only used to make API requests from the extension.
This key is stored locally and only used to make API requests from this extension.
<VSCodeLink href="https://console.anthropic.com/" style={{ display: "inline" }}>
You can get an Anthropic API key by signing up here.
</VSCodeLink>
@@ -66,7 +66,7 @@ const ApiOptions: React.FC<ApiOptionsProps> = ({ apiConfiguration, setApiConfigu
marginTop: "5px",
color: "var(--vscode-descriptionForeground)",
}}>
This key is stored locally and only used to make API requests from the extension.
This key is stored locally and only used to make API requests from this extension.
<VSCodeLink href="https://openrouter.ai/" style={{ display: "inline" }}>
You can get an OpenRouter API key by signing up here.
</VSCodeLink>
@@ -129,7 +129,7 @@ const ApiOptions: React.FC<ApiOptionsProps> = ({ apiConfiguration, setApiConfigu
marginTop: "5px",
color: "var(--vscode-descriptionForeground)",
}}>
These credentials are stored locally and only used to make API requests from the extension.
These credentials are stored locally and only used to make API requests from this extension.
<VSCodeLink
href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html"
style={{ display: "inline" }}>