mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 20:31:37 -05:00
Minor fixes
This commit is contained in:
@@ -444,7 +444,7 @@ export class ClaudeDevProvider implements vscode.WebviewViewProvider {
|
|||||||
await this.storeSecret("openRouterApiKey", apiKey)
|
await this.storeSecret("openRouterApiKey", apiKey)
|
||||||
await this.postStateToWebview()
|
await this.postStateToWebview()
|
||||||
this.claudeDev?.updateApi({ apiProvider: openrouter, openRouterApiKey: apiKey })
|
this.claudeDev?.updateApi({ apiProvider: openrouter, openRouterApiKey: apiKey })
|
||||||
await this.postMessageToWebview({ type: "action", action: "settingsButtonTapped" })
|
// await this.postMessageToWebview({ type: "action", action: "settingsButtonTapped" }) // bad ux if user is on welcome
|
||||||
}
|
}
|
||||||
|
|
||||||
// Task history
|
// Task history
|
||||||
|
|||||||
@@ -153,7 +153,10 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage }: ApiOptionsProps) => {
|
|||||||
<span style={{ fontWeight: 500 }}>OpenRouter API Key</span>
|
<span style={{ fontWeight: 500 }}>OpenRouter API Key</span>
|
||||||
</VSCodeTextField>
|
</VSCodeTextField>
|
||||||
{!apiConfiguration?.openRouterApiKey && (
|
{!apiConfiguration?.openRouterApiKey && (
|
||||||
<VSCodeButtonLink href={getOpenRouterAuthUrl(uriScheme)} style={{ margin: "5px 0 0 0" }}>
|
<VSCodeButtonLink
|
||||||
|
href={getOpenRouterAuthUrl(uriScheme)}
|
||||||
|
style={{ margin: "5px 0 0 0" }}
|
||||||
|
appearance="secondary">
|
||||||
Get OpenRouter API Key
|
Get OpenRouter API Key
|
||||||
</VSCodeButtonLink>
|
</VSCodeButtonLink>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user