generated from tailored/router-db-template
feat: update Bailian model and improve TypeScript configuration
- Changed Bailian model from 'qwen3-235b-a22b' to 'qwen-plus' in ai.ts - Updated model references in bailianModel to use simplified names - Modified tsconfig.json to set module to NodeNext, target to esnext, and adjusted paths for better module resolution - Added new query-keys.ts file in xhs package to implement getNoteByKeyword functionality with command line interface
This commit is contained in:
@@ -5,7 +5,7 @@ import { config } from '../modules/config.ts';
|
||||
const createBaiLian = () => {
|
||||
return new BailianProvider({
|
||||
baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1',
|
||||
model: 'qwen3-235b-a22b',
|
||||
model: 'qwen-plus',
|
||||
apiKey: config.BAILIAN_API_KEY,
|
||||
});
|
||||
};
|
||||
@@ -17,8 +17,8 @@ console.log('Bailian AI initialized with model:', config.BAILIAN_API_KEY);
|
||||
|
||||
export const bailianModel = useContextKey('bailianModel', () => {
|
||||
return {
|
||||
turbo: 'qwen-turbo-2025-04-28',
|
||||
plus: 'qwen-plus-2025-04-28',
|
||||
turbo: 'qwen-turbo',
|
||||
plus: 'qwen-plus',
|
||||
a22b235: 'qwen3-235b-a22b',
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user