Harden Exact reconcile and soften post-Generate warm.
Overwrite foreign steps/cfg in sparse patches when the user did not ask for params, and skip the cold-load path when Ollama already has the chat model resident. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -68,7 +68,15 @@ describe('kreaProfile', () => {
|
||||
);
|
||||
// Intentional non-Exact patch value is kept.
|
||||
assert.deepEqual(
|
||||
exactKeysToForce({ steps: 20, cfg: 7, sigma_shift: 1.15 }, turbo, { patch: { cfg: 7 } }),
|
||||
exactKeysToForce({ steps: 20, cfg: 7, sigma_shift: 1.15 }, turbo, { patch: { cfg: 7 } }),
|
||||
['steps', 'cfg'],
|
||||
);
|
||||
assert.deepEqual(
|
||||
exactKeysToForce(
|
||||
{ steps: 20, cfg: 7, sigma_shift: 1.15 },
|
||||
turbo,
|
||||
{ patch: { cfg: 7 }, userParamIntent: true },
|
||||
),
|
||||
['steps'],
|
||||
);
|
||||
assert.deepEqual(
|
||||
|
||||
Reference in New Issue
Block a user