first commit
This commit is contained in:
11
tests/e2e/features/model-limits/model-limits.data.ts
Normal file
11
tests/e2e/features/model-limits/model-limits.data.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ModelLimitConfig } from './pages/model-limits.page'
|
||||
|
||||
export function createModelLimitData(overrides: Partial<ModelLimitConfig> = {}): ModelLimitConfig {
|
||||
return {
|
||||
provider: 'openai',
|
||||
modelName: 'gpt-4o-mini',
|
||||
budget: { maxLimit: 10, resetDuration: '1M' },
|
||||
rateLimit: { tokenMaxLimit: 1000, requestMaxLimit: 50 },
|
||||
...overrides,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user