mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 19:39:25 +08:00
Added SSE(Streaming) to Native AI Requests
This commit is contained in:
@@ -32,7 +32,7 @@ class AIRequestModel with _$AIRequestModel {
|
||||
|
||||
LLMRequestDetails createRequest() {
|
||||
final controller = model.provider.modelController;
|
||||
return controller.createRequest(model, payload);
|
||||
return controller.createRequest(model, payload, stream: true);
|
||||
}
|
||||
|
||||
factory AIRequestModel.fromDefaultSaveObject(LLMSaveObject? defaultLLMSO) {
|
||||
|
||||
Reference in New Issue
Block a user