mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
AIProviderSelector Impl & AI Models added to RequestModel
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:apidash_core/apidash_core.dart';
|
||||
import 'package:genai/genai.dart';
|
||||
|
||||
part 'request_model.freezed.dart';
|
||||
|
||||
@@ -25,6 +26,8 @@ class RequestModel with _$RequestModel {
|
||||
@JsonKey(includeToJson: false) @Default(false) bool isStreaming,
|
||||
String? preRequestScript,
|
||||
String? postRequestScript,
|
||||
AIRequestModel? aiRequestModel,
|
||||
AIResponseModel? aiResponseModel,
|
||||
}) = _RequestModel;
|
||||
|
||||
factory RequestModel.fromJson(Map<String, Object?> json) =>
|
||||
|
||||
Reference in New Issue
Block a user