index.ts
1 export const CHATBOT_DEFAULTS = { 2 name: '', 3 apiKey: '', 4 apiCli: '', 5 icon: '', 6 url: 'https://api2.aiql.com', 7 urlList: ['https://api2.aiql.com'], 8 9 path: '/chat/completions', 10 pathList: [ 11 '/chat/completions', 12 '/v1/chat/completions', 13 '/v1/openai/chat/completions', 14 '/openai/v1/chat/completions' 15 ], 16 17 model: 'Qwen/Qwen3-32B', 18 modelList: ['Qwen/Qwen3-32B', 'Qwen/Qwen3-Coder-480B-A35B-Instruct-Turbo', 'openai/gpt-oss-120b'], 19 20 authPrefix: 'Bearer', 21 authPrefixList: ['Bearer', 'Base', 'Token'], 22 23 maxTokensPrefixList: ['max_tokens', 'max_completion_tokens', 'max_new_tokens'], 24 maxTokensPrefix: 'max_tokens', 25 maxTokensValue: undefined, 26 27 temperature: undefined, 28 topP: undefined, 29 method: 'POST', 30 contentType: 'application/json', 31 stream: true, 32 reasoningEffort: undefined, 33 enableThinking: undefined, 34 enableExtraBody: false, 35 extraBody: {}, 36 authorization: true, 37 mcp: true 38 } 39 40 export const REASONING_EFFORT = ['minimal', 'low', 'medium', 'high'] as const 41 42 export type ReasoningEffort = (typeof REASONING_EFFORT)[number] 43 44 export const ENABLE_THINKING = ['false', 'true']