@botpress/cognitive 0.1.48 → 0.1.49

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/refresh-models.ts CHANGED
@@ -44,11 +44,11 @@ async function main(): Promise<void> {
44
44
  input: { costPer1MTokens: 0, maxTokens: 1_000_000 },
45
45
  output: { costPer1MTokens: 0, maxTokens: 1_000_000 },
46
46
  tags: [],
47
- lifecycle: 'live',
47
+ lifecycle: 'production',
48
48
  }
49
49
 
50
50
  const newFile = `import { Model } from 'src/schemas.gen'\n
51
- export type RemoteModel = Model & { aliases?: string[]; lifecycle: 'live' | 'beta' | 'deprecated' | 'discontinued' }\n
51
+ export type RemoteModel = Model & { aliases?: string[]; lifecycle: 'production' | 'preview' | 'deprecated' | 'discontinued' }\n
52
52
  export const models: Record<string, RemoteModel> = ${JSON.stringify(modelsObj, null, 2)}\n
53
53
  export const defaultModel: RemoteModel = ${JSON.stringify(defaultModel, undefined, 2)}
54
54
  `