@cherryin/aigw-api-client 0.1.12 → 0.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +2 -0
- package/dist/api.d.ts +2 -0
- package/dist/esm/api.d.ts +2 -0
- package/docs/AdminAIModelProviderConfigItem.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @cherryin/aigw-api-client@0.1.
|
|
1
|
+
## @cherryin/aigw-api-client@0.1.13
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cherryin/aigw-api-client@0.1.
|
|
39
|
+
npm install @cherryin/aigw-api-client@0.1.13 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
CHANGED
|
@@ -151,6 +151,8 @@ export interface AdminAIModelProviderConfigItem {
|
|
|
151
151
|
'priority'?: string;
|
|
152
152
|
'traffic_permille'?: string;
|
|
153
153
|
'endpoint_mapping'?: { [key: string]: string; };
|
|
154
|
+
'provider_name'?: string;
|
|
155
|
+
'provider_model_name'?: string;
|
|
154
156
|
}
|
|
155
157
|
export interface AdminAIModelPublishRequest {
|
|
156
158
|
'id'?: string;
|
package/dist/api.d.ts
CHANGED
package/dist/esm/api.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**priority** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**traffic_permille** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**endpoint_mapping** | **{ [key: string]: string; }** | | [optional] [default to undefined]
|
|
13
|
+
**provider_name** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**provider_model_name** | **string** | | [optional] [default to undefined]
|
|
13
15
|
|
|
14
16
|
## Example
|
|
15
17
|
|
|
@@ -22,6 +24,8 @@ const instance: AdminAIModelProviderConfigItem = {
|
|
|
22
24
|
priority,
|
|
23
25
|
traffic_permille,
|
|
24
26
|
endpoint_mapping,
|
|
27
|
+
provider_name,
|
|
28
|
+
provider_model_name,
|
|
25
29
|
};
|
|
26
30
|
```
|
|
27
31
|
|