|
@@ -24,8 +24,10 @@ export class BigModelApi implements LLMApi {
|
|
|
constructor() {
|
|
constructor() {
|
|
|
this.baseURL = '/bigmodel-api';
|
|
this.baseURL = '/bigmodel-api';
|
|
|
this.apiPath = this.baseURL + '/bigmodel/api/model-api/sse-invoke';
|
|
this.apiPath = this.baseURL + '/bigmodel/api/model-api/sse-invoke';
|
|
|
|
|
+ // 切换deepSeek模型请求地址
|
|
|
this.deepSeekApiPath = 'http://192.168.3.209:8000/chat';
|
|
this.deepSeekApiPath = 'http://192.168.3.209:8000/chat';
|
|
|
- this.apiType = 'bigModel';
|
|
|
|
|
|
|
+ // 切换api请求类型
|
|
|
|
|
+ this.apiType = 'deepSeek';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
async chat(options: ChatOptions) {
|
|
async chat(options: ChatOptions) {
|