mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-09 05:51:01 +08:00
* Fixed the custom model URL.
* Added functionality for custom model names.
This commit is contained in:
@@ -101,6 +101,7 @@ export interface AIModel {
|
||||
enabled: boolean;
|
||||
apiKey?: string;
|
||||
customApiUrl?: string;
|
||||
customModelName?: string;
|
||||
}
|
||||
|
||||
export interface Exchange {
|
||||
@@ -140,6 +141,7 @@ export interface UpdateModelConfigRequest {
|
||||
enabled: boolean;
|
||||
api_key: string;
|
||||
custom_api_url?: string;
|
||||
custom_model_name?: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user