SolsticeAI commited on
Commit
7556632
Β·
verified Β·
1 Parent(s): 95a24ef

feat: L10 Proteus support in glm.jinja

Browse files
Files changed (1) hide show
  1. templates/glm.jinja +23 -10
templates/glm.jinja CHANGED
@@ -23,31 +23,31 @@ Operational Directives:
23
 
24
  {%- set inst_hermes -%}
25
  Reasoning effort: Hermes β€” [L1] (rapid instinct).
26
- Mindset: High-velocity execution. Rapid sanity check of premise, arithmetic, or syntax β€” then commit immediately to the shortest verified bridge to the conclusion. Conclude in a light single-digit share of output; zero when obvious.
27
  {%- endset %}
28
  {%- set inst_apollo -%}
29
  Reasoning effort: Apollo β€” [L2] (disciplined deduction).
30
- Mindset: Structured, transparent logic. Isolate given constraints, trace linear implications with zero detour, and exit thinking the instant premise validation is reached (typically 10-25% of output).
31
  {%- endset %}
32
  {%- set inst_artemis -%}
33
  Reasoning effort: Artemis β€” [L3] (boundary & failure audit).
34
- Mindset: Rigorous boundary validation. Audit null/empty states, numeric limits, concurrency hazards, off-by-one errors, and malformed inputs. Fortify against edge cases, then terminate thinking immediately (roughly 20-40% of output).
35
  {%- endset %}
36
  {%- set inst_athena -%}
37
  Reasoning effort: Athena β€” [L4] (strategic architecture).
38
- Mindset: Modular synthesis. Deconstruct requirements into structured sub-tasks with strict prerequisite dependency chains. Weigh concrete trade-offs (performance vs maintainability, latency vs throughput) and execute the optimal vector (roughly 30-50% of output).
39
  {%- endset %}
40
  {%- set inst_prometheus -%}
41
  Reasoning effort: Prometheus β€” [L5] (defensive engineering).
42
- Mindset: Second-order systemic modeling. Anticipate upstream crashes, payload corruption, scaling cliffs, memory footprints, and lifecycle debt. Embed fault tolerance and graceful degradation directly into the design (roughly 40-60% of output).
43
  {%- endset %}
44
  {%- set inst_solstice -%}
45
  Reasoning effort: Solstice β€” [L6] (deep systemic derivation).
46
- Mindset: Axiomatic derivation. Establish fundamental invariants, formulate distinct candidate architectures, stress-test each against boundary constraints, and converge on the dominant derivation with zero assumptions taken on faith (roughly 50-70% of output).
47
  {%- endset %}
48
  {%- set inst_hyperion -%}
49
- Reasoning effort: Hyperion β€” [L7] (first-principles synthesis; default).
50
- Mindset: Comprehensive first-principles synthesis. Decompose problems to atomic ground truths. Maintain continuous forward momentum across all proof surfaces. Immediate exit the instant resolution is achieved (typically 60-85% of output).
51
  {%- endset %}
52
  {%- set inst_einstein -%}
53
  Reasoning effort: Einstein β€” [L8] (theoretical mastery).
@@ -57,6 +57,17 @@ Mindset: Invariant reduction and breakthrough synthesis. Strip peripheral comple
57
  Reasoning effort: Oracle β€” [L9] (proof-grade authority).
58
  Mindset: Exhaustive formal verification. Atomic proofs, invariant proofs, complete edge falsification, and 100% complete implementation without placeholders. Think as long as genuine proof requires; close immediately once established.
59
  {%- endset %}
 
 
 
 
 
 
 
 
 
 
 
60
  {%- set inst_swarm -%}
61
  Reasoning effort: Swarm β€” 20-perspective divergent swarm (specialized mode).
62
  Mindset: Four-phase convergent breakdown. Phase 1: Disassembly to core parameters. Phase 2: Divergent multi-angle simulation (logician, systems engineer, red-teamer, optimizer, critic). Phase 3: Cross-pollination and tension resolution. Phase 4: Convergence onto master deliverable.
@@ -96,11 +107,13 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
96
  {%- set store.reasoning_effort = tag_inner -%}
97
  {%- endif -%}
98
  {%- endfor -%}
99
- {%- set target_mode = store.reasoning_effort | default(thinking_level|default('7')) | string | lower | trim -%}
100
  {%- set current_thinking = store.enable_thinking -%}
101
  {%- if is_explicit_regular or target_mode in ['0', 'mortal', 'disabled', 'none', 'off', 'zero', 'direct', 'chat', 'regular', 'vanilla', 'standard', 'default', 'clean'] -%}
102
  {%- set current_thinking = false -%}
103
  {%- set reasoning_instructions = '' -%}
 
 
104
  {%- elif target_mode in ['1', 'hermes', 'ulow', 'ultra-low', 'micro', 'minimal'] -%}
105
  {%- set reasoning_instructions = inst_hermes -%}
106
  {%- elif target_mode in ['2', 'apollo', 'low', 'compact', 'fast'] -%}
@@ -124,7 +137,7 @@ Output contract: Conclude thinking and open final response with "[COUNCIL VERDIC
124
  {%- elif target_mode in ['deep-swarm', 'oracle-swarm', 'council', 'amax-swarm', 'deep-research'] -%}
125
  {%- set reasoning_instructions = inst_deep_swarm -%}
126
  {%- else -%}
127
- {%- set reasoning_instructions = inst_hyperion -%}
128
  {%- endif -%}
129
  {%- if reasoning_instructions -%}<|system|>{{ reasoning_instructions }}{%- endif -%}
130
  {%- if tools -%}
 
23
 
24
  {%- set inst_hermes -%}
25
  Reasoning effort: Hermes β€” [L1] (rapid instinct).
26
+ Mindset: High-velocity execution. Rapid sanity check of premise, arithmetic, or syntax β€” then commit immediately to the shortest verified bridge to the conclusion. Conclude immediately once obvious.
27
  {%- endset %}
28
  {%- set inst_apollo -%}
29
  Reasoning effort: Apollo β€” [L2] (disciplined deduction).
30
+ Mindset: Structured, transparent logic. Isolate given constraints, trace linear implications with zero detour, and exit thinking the instant premise validation is reached.
31
  {%- endset %}
32
  {%- set inst_artemis -%}
33
  Reasoning effort: Artemis β€” [L3] (boundary & failure audit).
34
+ Mindset: Rigorous boundary validation. Audit null/empty states, numeric limits, concurrency hazards, off-by-one errors, and malformed inputs. Fortify against edge cases, then terminate thinking immediately.
35
  {%- endset %}
36
  {%- set inst_athena -%}
37
  Reasoning effort: Athena β€” [L4] (strategic architecture).
38
+ Mindset: Modular synthesis. Deconstruct requirements into structured sub-tasks with strict prerequisite dependency chains. Weigh concrete trade-offs (performance vs maintainability, latency vs throughput) and execute the optimal vector.
39
  {%- endset %}
40
  {%- set inst_prometheus -%}
41
  Reasoning effort: Prometheus β€” [L5] (defensive engineering).
42
+ Mindset: Second-order systemic modeling. Anticipate upstream crashes, payload corruption, scaling cliffs, memory footprints, and lifecycle debt. Embed fault tolerance and graceful degradation directly into the design.
43
  {%- endset %}
44
  {%- set inst_solstice -%}
45
  Reasoning effort: Solstice β€” [L6] (deep systemic derivation).
46
+ Mindset: Axiomatic derivation. Establish fundamental invariants, formulate distinct candidate architectures, stress-test each against boundary constraints, and converge on the dominant derivation with zero assumptions taken on faith.
47
  {%- endset %}
48
  {%- set inst_hyperion -%}
49
+ Reasoning effort: Hyperion β€” [L7] (first-principles synthesis).
50
+ Mindset: Comprehensive first-principles synthesis. Decompose problems to atomic ground truths. Maintain continuous forward momentum across all proof surfaces. Immediate exit the instant resolution is achieved.
51
  {%- endset %}
52
  {%- set inst_einstein -%}
53
  Reasoning effort: Einstein β€” [L8] (theoretical mastery).
 
57
  Reasoning effort: Oracle β€” [L9] (proof-grade authority).
58
  Mindset: Exhaustive formal verification. Atomic proofs, invariant proofs, complete edge falsification, and 100% complete implementation without placeholders. Think as long as genuine proof requires; close immediately once established.
59
  {%- endset %}
60
+ {%- set inst_proteus -%}
61
+ Reasoning effort: Proteus β€” [L10] (dynamic adaptive reasoning; default).
62
+ Mindset: Fluid cognitive adaptation. Zero predetermined depth or token quotas. Allocate only the exact reasoning required by the problem's verified constraints:
63
+ - Low Complexity (Direct questions, lookups, syntax, simple facts): Conclude reasoning immediately and output the answer directly with zero overhead.
64
+ - Moderate Complexity (Refactoring, multi-step algorithms, debugging, edge cases): Engage targeted validation. Audit boundary constraints, construct the solution, and exit.
65
+ - High Complexity (Axiomatic proofs, novel systems architecture, hard mathematics): Formulate first-principles derivations. Trace every invariant until proven.
66
+ Operating Directives:
67
+ - Draw dynamically from whichever cognitive modes are needed: boundary falsification, structural trade-offs, defensive engineering, or foundational axioms.
68
+ - Eliminate all self-conversational chatter ("let's see", "hmm", "wait"). Move strictly forward.
69
+ - Terminate thinking immediately the instant the solution is definitively established and verified. Correctness is the sole boundary.
70
+ {%- endset %}
71
  {%- set inst_swarm -%}
72
  Reasoning effort: Swarm β€” 20-perspective divergent swarm (specialized mode).
73
  Mindset: Four-phase convergent breakdown. Phase 1: Disassembly to core parameters. Phase 2: Divergent multi-angle simulation (logician, systems engineer, red-teamer, optimizer, critic). Phase 3: Cross-pollination and tension resolution. Phase 4: Convergence onto master deliverable.
 
107
  {%- set store.reasoning_effort = tag_inner -%}
108
  {%- endif -%}
109
  {%- endfor -%}
110
+ {%- set target_mode = store.reasoning_effort | default(thinking_level|default('10')) | string | lower | trim -%}
111
  {%- set current_thinking = store.enable_thinking -%}
112
  {%- if is_explicit_regular or target_mode in ['0', 'mortal', 'disabled', 'none', 'off', 'zero', 'direct', 'chat', 'regular', 'vanilla', 'standard', 'default', 'clean'] -%}
113
  {%- set current_thinking = false -%}
114
  {%- set reasoning_instructions = '' -%}
115
+ {%- elif target_mode in ['10', 'proteus', 'dynamic', 'auto', 'adaptive', 'fluid', 'default'] -%}
116
+ {%- set reasoning_instructions = inst_proteus -%}
117
  {%- elif target_mode in ['1', 'hermes', 'ulow', 'ultra-low', 'micro', 'minimal'] -%}
118
  {%- set reasoning_instructions = inst_hermes -%}
119
  {%- elif target_mode in ['2', 'apollo', 'low', 'compact', 'fast'] -%}
 
137
  {%- elif target_mode in ['deep-swarm', 'oracle-swarm', 'council', 'amax-swarm', 'deep-research'] -%}
138
  {%- set reasoning_instructions = inst_deep_swarm -%}
139
  {%- else -%}
140
+ {%- set reasoning_instructions = inst_proteus -%}
141
  {%- endif -%}
142
  {%- if reasoning_instructions -%}<|system|>{{ reasoning_instructions }}{%- endif -%}
143
  {%- if tools -%}