feat: 完成模型api改造
This commit is contained in:
@@ -82,7 +82,7 @@ public class ChatManager : DomainService
|
||||
response.Headers.TryAdd("Cache-Control", "no-cache");
|
||||
response.Headers.TryAdd("Connection", "keep-alive");
|
||||
|
||||
var modelDescribe = await _aiGateWayManager.GetModelAsync(ModelApiTypeEnum.OpenAi, modelId);
|
||||
var modelDescribe = await _aiGateWayManager.GetModelAsync(ModelApiTypeEnum.Completions, modelId);
|
||||
|
||||
//token状态检查,在应用层统一处理
|
||||
var client = new OpenAIClient(new ApiKeyCredential(token),
|
||||
|
||||
Reference in New Issue
Block a user