fix: add Nebius types and export constants
- Add 'nebius-api-key' to AuthChoice union type - Add nebiusApiKey to OnboardOptions interface - Export NEBIUS_DEFAULT_MODEL_ID constant - Fixes TypeScript build errors
This commit is contained in:
parent
062ce60bfa
commit
8da5d9fb3d
@ -42,7 +42,7 @@ const XIAOMI_DEFAULT_COST = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const NEBIUS_BASE_URL = "https://api.tokenfactory.nebius.com/v1";
|
const NEBIUS_BASE_URL = "https://api.tokenfactory.nebius.com/v1";
|
||||||
const NEBIUS_DEFAULT_MODEL_ID = "Qwen/Qwen3-32B-fast";
|
export const NEBIUS_DEFAULT_MODEL_ID = "Qwen/Qwen3-32B-fast";
|
||||||
const NEBIUS_DEFAULT_CONTEXT_WINDOW = 128000;
|
const NEBIUS_DEFAULT_CONTEXT_WINDOW = 128000;
|
||||||
const NEBIUS_DEFAULT_MAX_TOKENS = 8192;
|
const NEBIUS_DEFAULT_MAX_TOKENS = 8192;
|
||||||
const NEBIUS_DEFAULT_COST = {
|
const NEBIUS_DEFAULT_COST = {
|
||||||
|
|||||||
@ -23,6 +23,7 @@ export type AuthChoice =
|
|||||||
| "google-antigravity"
|
| "google-antigravity"
|
||||||
| "google-gemini-cli"
|
| "google-gemini-cli"
|
||||||
| "zai-api-key"
|
| "zai-api-key"
|
||||||
|
| "nebius-api-key"
|
||||||
| "xiaomi-api-key"
|
| "xiaomi-api-key"
|
||||||
| "minimax-cloud"
|
| "minimax-cloud"
|
||||||
| "minimax"
|
| "minimax"
|
||||||
@ -68,6 +69,7 @@ export type OnboardOptions = {
|
|||||||
kimiCodeApiKey?: string;
|
kimiCodeApiKey?: string;
|
||||||
geminiApiKey?: string;
|
geminiApiKey?: string;
|
||||||
zaiApiKey?: string;
|
zaiApiKey?: string;
|
||||||
|
nebiusApiKey?: string;
|
||||||
xiaomiApiKey?: string;
|
xiaomiApiKey?: string;
|
||||||
minimaxApiKey?: string;
|
minimaxApiKey?: string;
|
||||||
syntheticApiKey?: string;
|
syntheticApiKey?: string;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user