fix: use 1m fallback for unknown model context
This commit is contained in:
@@ -9,7 +9,7 @@ import { getCompatibleCustomProviders } from './custom-providers-compat'
|
||||
|
||||
const HERMES_BASE = detectHermesHome()
|
||||
const MODELS_DEV_CACHE = resolve(HERMES_BASE, 'models_dev_cache.json')
|
||||
const DEFAULT_CONTEXT_LENGTH = 256_000
|
||||
const DEFAULT_CONTEXT_LENGTH = 1_000_000
|
||||
|
||||
export interface ModelContextLengthOptions {
|
||||
profile?: string
|
||||
|
||||
Reference in New Issue
Block a user