We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ae51bc + c5aac92 commit 4229b9fCopy full SHA for 4229b9f
extensions/inference-cortex-extension/src/index.ts
@@ -280,7 +280,7 @@ export default class JanInferenceCortexExtension extends LocalOAIEngine {
280
...(model.id.toLowerCase().includes('jan-nano')
281
? { reasoning_budget: 0 }
282
: { reasoning_budget: this.reasoning_budget }),
283
- ...(this.context_shift === false
+ ...(this.context_shift !== true // explicit true required to enable context shift
284
? { 'no-context-shift': true }
285
: {}),
286
...(modelSettings.ngl === -1 || modelSettings.ngl === undefined
0 commit comments