|
|
@@ -31,7 +31,10 @@ import { ExtensionMessage } from "../../../../src/shared/ExtensionMessage"
|
|
|
import { useExtensionState } from "../../context/ExtensionStateContext"
|
|
|
import { vscode } from "../../utils/vscode"
|
|
|
import VSCodeButtonLink from "../common/VSCodeButtonLink"
|
|
|
-import OpenRouterModelPicker, { ModelDescriptionMarkdown } from "./OpenRouterModelPicker"
|
|
|
+import OpenRouterModelPicker, {
|
|
|
+ ModelDescriptionMarkdown,
|
|
|
+ OPENROUTER_MODEL_PICKER_Z_INDEX,
|
|
|
+} from "./OpenRouterModelPicker"
|
|
|
|
|
|
interface ApiOptionsProps {
|
|
|
showModelOptions: boolean
|
|
|
@@ -117,7 +120,7 @@ const ApiOptions = ({ showModelOptions, apiErrorMessage, modelIdErrorMessage }:
|
|
|
id="api-provider"
|
|
|
value={selectedProvider}
|
|
|
onChange={handleInputChange("apiProvider")}
|
|
|
- style={{ minWidth: 130, position: "relative", zIndex: 1002 }}>
|
|
|
+ style={{ minWidth: 130, position: "relative", zIndex: OPENROUTER_MODEL_PICKER_Z_INDEX + 1 }}>
|
|
|
<VSCodeOption value="openrouter">OpenRouter</VSCodeOption>
|
|
|
<VSCodeOption value="anthropic">Anthropic</VSCodeOption>
|
|
|
<VSCodeOption value="gemini">Google Gemini</VSCodeOption>
|