@daocloud-proto/hydra 0.2.0-dev-2 → 0.2.0-dev-3

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.
@@ -22,12 +22,28 @@ export enum ModelSupportFeature {
22
22
  AUDIO_TO_TEXT = "AUDIO_TO_TEXT",
23
23
  }
24
24
 
25
+ export enum ModelPublibModelConfigRateLimitLimitedBy {
26
+ LIMITED_BY_UNSPECIFIED = "LIMITED_BY_UNSPECIFIED",
27
+ USER_ID = "USER_ID",
28
+ API_KEY = "API_KEY",
29
+ }
30
+
25
31
  export type ModelPrice = {
26
32
  inputPerKTokens?: string
27
33
  outputPerKTokens?: string
28
34
  perImage?: string
29
35
  }
30
36
 
37
+ export type ModelPublibModelConfigRateLimit = {
38
+ limitedBy?: ModelPublibModelConfigRateLimitLimitedBy
39
+ limit?: string
40
+ duration?: string
41
+ }
42
+
43
+ export type ModelPublibModelConfig = {
44
+ rateLimit?: ModelPublibModelConfigRateLimit
45
+ }
46
+
31
47
  export type Model = {
32
48
  modelId?: string
33
49
  modelAvatar?: string
@@ -44,6 +60,7 @@ export type Model = {
44
60
  publicAccessModelName?: string
45
61
  publicModelPrice?: ModelPrice
46
62
  readme?: HydraCommonCommon.I18nName
63
+ publicModelConfig?: ModelPublibModelConfig
47
64
  }
48
65
 
49
66
  export type ListModelRequest = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.2.0-dev-2",
3
+ "version": "v0.2.0-dev-3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"