Use one example per capability and drop the token cap change

This commit is contained in:
Anthony Stirling
2026-09-02 12:17:33 +01:00
parent f57d0e2c81
commit 9c20be560b
2 changed files with 3 additions and 14 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ STIRLING_FAST_MODEL=anthropic:claude-haiku-4-5
# Default output token limits applied by the engine for each model tier. # Default output token limits applied by the engine for each model tier.
STIRLING_SMART_MODEL_MAX_TOKENS=8192 STIRLING_SMART_MODEL_MAX_TOKENS=8192
STIRLING_FAST_MODEL_MAX_TOKENS=4096 STIRLING_FAST_MODEL_MAX_TOKENS=2048
# Process-wide cap on concurrent model API calls, shared by both model tiers. # Process-wide cap on concurrent model API calls, shared by both model tiers.
# Per-request fan-outs (chunked reasoner workers, contradiction detection) are # Per-request fan-outs (chunked reasoner workers, contradiction detection) are
+2 -13
View File
@@ -68,21 +68,10 @@ _ROUTER_SYSTEM_PROMPT = (
"helpful message in 'message'.\n" "helpful message in 'message'.\n"
"Respond with the capability and (only for unsupported) a message.\n" "Respond with the capability and (only for unsupported) a message.\n"
"\n" "\n"
"Decide by what the user wants BACK, not by which PDF words appear in the message. " "Decide by what the user wants BACK. Information read out of the document is pdf_question; "
"Wanting an answer, or information read out of the document, is pdf_question. Wanting a " "a changed file handed back is pdf_edit. Mentioning a document is not asking to change it.\n"
"changed file handed back is pdf_edit. A document being mentioned is not a request to act "
"on it.\n"
"\n"
"Examples:\n"
' "How long is the notice period?" -> pdf_question\n'
' "Shorten the notice period to 30 days" -> pdf_edit\n'
' "Is there a table of contents?" -> pdf_question\n' ' "Is there a table of contents?" -> pdf_question\n'
' "Add a table of contents" -> pdf_edit\n' ' "Add a table of contents" -> pdf_edit\n'
' "Does it say anything about encryption?" -> pdf_question\n'
' "Encrypt this file" -> pdf_edit\n'
' "What sections cover the merger?" -> pdf_question\n'
' "Combine these into one file" -> pdf_edit\n'
' "Tell me if the numbers add up" -> pdf_question\n'
' "Put a note on every paragraph that needs work" -> pdf_review\n' ' "Put a note on every paragraph that needs work" -> pdf_review\n'
' "Build me a purchase order from scratch" -> pdf_create\n' ' "Build me a purchase order from scratch" -> pdf_create\n'
' "Make a rule that stamps every upload" -> user_spec\n' ' "Make a rule that stamps every upload" -> user_spec\n'