@peopl-health/nexus 5.56.34 → 5.56.35
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.
|
@@ -49,7 +49,8 @@ function resolveMaxFunctionRounds(explicit) {
|
|
|
49
49
|
const LOOP_ITERATION_HEADROOM = 3;
|
|
50
50
|
const CACHE_TTLS = ['5m', '1h'];
|
|
51
51
|
const DEFAULT_CACHE_TTL = '1h';
|
|
52
|
-
|
|
52
|
+
// Toggling thinking mid-turn invalidates the message cache, so the next call rewrites the whole history.
|
|
53
|
+
const DEFAULT_THINKING_MODE = 'always';
|
|
53
54
|
// Turns that end the model's clinical reasoning for the turn; after one, until_commit stops thinking.
|
|
54
55
|
const TERMINAL_COMMIT_TOOLS = new Set(['submitRoutingDecision', 'reportMedicalEscalation', 'reportCrisis', 'reportUnresolvedRequestv2']);
|
|
55
56
|
const ROUTING_TOOL = 'submitRoutingDecision';
|