Document actual OpenWebUI outbound system prompt tests
This commit is contained in:
1 parent
c40f7e1bc9
commit
4d1dbed1bf
2 files changed
+487
No files matched your search
@@ -0,0 +1,73 @@
|
||||
# Tatsächlicher Systemprompt-Versand aus OpenWebUI — 12.10.2026
|
||||
|
||||
## Ergebnis
|
||||
|
||||
Die normale Systemprompt-Funktion funktioniert im geprüften Aufbau. Die
|
||||
Testregel aus dem offiziellen Chat-Feld und aus dem offiziellen Modell-Feld
|
||||
kam beim tatsächlichen Deck-Endpunkt jeweils einmal in der ersten und in der
|
||||
Werkzeug-Folgeanfrage an. Beide Antworten begannen korrekt mit `AUDIT_OK_7F2`.
|
||||
|
||||
Die aktuell gespeicherte Zuweisung über `models.default_params.system` kam
|
||||
hingegen in drei frischen UI-Chats nicht an. Der letzte Durchlauf prüfte zusätzlich
|
||||
alle 15 nichtleeren Promptzeilen, normalisierte Leerzeichen und die bekannte
|
||||
proportionale Arbeitsregel: kein Treffer in erster oder Folgeanfrage.
|
||||
Ein leerer `params.system`-Override wurde im originalen UI-HTTP-Body ausgeschlossen.
|
||||
Das gilt für den getesteten UI-Pfad; es beweist weder das Verhalten jedes alten
|
||||
Chats noch einen offiziell bestätigten OpenWebUI-Bug. Die Ursachenbehauptung
|
||||
"Systemprompts gehen generell nicht" wird ausdrücklich zurückgenommen.
|
||||
|
||||
| Quelle | Erste Anfrage | Nach echtem Werkzeugschritt | Verhalten |
|
||||
| --- | --- | --- | --- |
|
||||
| Aktueller globaler Modellparameter, drei Chats | Kein Ganztexttreffer | Kein Ganztexttreffer | Terminalauftrag erfüllt; im letzten Durchlauf auch 0/15 Promptzeilen |
|
||||
| Offizielles Systemprompt-Feld im eigenen Chat | Testregel einmal | Testregel einmal | Geforderte Kennung + tatsächliche Ausgabe |
|
||||
| Offizieller Systemprompt im eigenen Testmodell | Testregel einmal | Testregel einmal | Geforderte Kennung + tatsächliche Ausgabe |
|
||||
|
||||
## Protokoll und Aussagegrenzen
|
||||
|
||||
Alle Aufträge wurden über die tatsächlich verwendete Safari-WebApp
|
||||
`oi.casaderoll.de` gesendet, mit ausgewähltem Unraid Workspace, Native Tool Calling,
|
||||
dem globalen Werkzeug-/Filterset und dem vorhandenen Strata-IQ3-Worker. Es wurden
|
||||
keine Modelle/Gewichte gewechselt und keine produktiven Dienste neu gestartet.
|
||||
Je frischem Chat genau ein `run_command` mit `printf 'TOOL_CANARY_4A9\n'`;
|
||||
kein Dateizugriff, kein Schalten, kein Löschen, keine privaten Nutzeraufträge.
|
||||
Alle fünf Chats waren abgeschlossen, bevor der nächste gestartet wurde.
|
||||
Jede erste und zweite Modellanfrage enthielt dieselben 66 Werkzeugschemas.
|
||||
|
||||
Ein vorübergehender, nur an Container-Loopback gebundener Beobachter leitete die
|
||||
vollständig erzeugten OpenWebUI-HTTP-Bodys bytegleich an denselben Deck-Endpunkt
|
||||
weiter. Ein isolierter Anschluss mit Präfix und ein eigenes Testmodell kopierten
|
||||
die produktiven Strata-Parameter/Metadaten. Keine produktive Verbindung wurde
|
||||
umgeleitet. Der eigene Prompt-Restaurierungs-Workaround war ausschließlich für
|
||||
das Testmodell ausgenommen; die Werkzeugtextbegrenzung blieb erhalten, änderte
|
||||
an den winzigen Ergebnissen aber nichts. Die Alias-ID hatte keine eigene
|
||||
Thinking-Regler-Zuordnung; dies ist ein Transporttest, kein Geschwindigkeits-
|
||||
oder Intelligenzvergleich.
|
||||
|
||||
Erfasst wurden nur Rollen, Zeichenmengen, Hashes, Trefferzahlen und synthetische
|
||||
Erfolgsmetriken. Die originalen UI-HTTP-Bytes wurden im eigenen Testmodell nur
|
||||
für Parameternamen, Feldtyp/-länge und Trefferzahlen ausgewertet. Keine Rohprompts,
|
||||
Werkzeugantworten, Koordinaten, Zugangsdaten oder fremden Chats in dieser Ablage.
|
||||
Die erfasste Systemprompt-Metadatenlänge am Inlet liegt vor der späteren
|
||||
Promptauflösung und darf nicht als finale Promptlänge interpretiert werden.
|
||||
|
||||
Die Standortfreigabe war beim ersten Test aktiv. Der ausgelieferte Frontendcode
|
||||
wartet vor dem Senden auf `getCurrentPosition` ohne expliziten Timeout. Die
|
||||
anfängliche Verzögerung bestand vor Chat-Speicherung/Modell-Empfang. Ab dem
|
||||
zweiten Test war die persönliche Standortfreigabe vorübergehend aus; dieser
|
||||
Unterschied wird nicht als Modell- oder Promptfehler gewertet. Anschließend
|
||||
wurde der ursprüngliche Wert wiederhergestellt. Kein allgemeiner Nachweis,
|
||||
dass Standortfreigabe in jeder Sitzung eine Verzögerung verursacht.
|
||||
|
||||
## Rückbau
|
||||
|
||||
Testanschluss und eigenes Testmodell entfernt, ursprüngliche Modell-/UI- und
|
||||
Hintergrund-Defaults sowie ursprüngliche Filterquelle/Valves wiederhergestellt.
|
||||
Persönlicher Standortwert wiederhergestellt. Werte wurden gegen die geschützte
|
||||
Ausgangssicherung geprüft. Die Wiederherstellung bedeutet ausdrücklich den
|
||||
Zustand vor diesem Test, einschließlich des schon vorhandenen Prompt-Workarounds;
|
||||
dieser wurde hier weder als erforderlich bestätigt noch erweitert.
|
||||
|
||||
Die synthetischen Testchats bleiben als Abnahmebelege erhalten. Der eigene
|
||||
Beobachter wird beendet, seine temporären Geheimnis-/Prompt-Sicherungen entfernt.
|
||||
Kein neuer dauerhafter Dienst, kein neuer produktiver Filter und keine
|
||||
Produktionskorrektur aus diesem Test.
|
||||
@@ -0,0 +1,414 @@
|
||||
{
|
||||
"outbound": [
|
||||
{
|
||||
"phase": "global-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user"
|
||||
],
|
||||
"system_chars": 8525,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 0,
|
||||
"tool_results": 0,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "2e9f1e28bc13e5df8245b09f42912e38256b351f41ae25261d6b5dbec7010c9d"
|
||||
},
|
||||
{
|
||||
"phase": "global-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user",
|
||||
"assistant",
|
||||
"tool"
|
||||
],
|
||||
"system_chars": 8525,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 0,
|
||||
"tool_results": 1,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "fc0a2d6345deda8a3580fef86532e5ab7c992877661836633bcc81857d637141"
|
||||
},
|
||||
{
|
||||
"phase": "global-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user"
|
||||
],
|
||||
"system_chars": 8525,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 0,
|
||||
"tool_results": 0,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "233216df601d501412a1fead2f41d6ac150f3eae12f93d24ecb83f2d5b112688"
|
||||
},
|
||||
{
|
||||
"phase": "global-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user",
|
||||
"assistant",
|
||||
"tool"
|
||||
],
|
||||
"system_chars": 8525,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 0,
|
||||
"tool_results": 1,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "fb5747fbce0484176a0573e26f79f85986096c156ce9f52037640e69df3aacd9"
|
||||
},
|
||||
{
|
||||
"phase": "global-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user"
|
||||
],
|
||||
"system_chars": 8525,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 0,
|
||||
"tool_results": 0,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "53377cc90335beb2201d39ea7055850faf80ded79d3e6e2fe3071550bf9e97a6",
|
||||
"canonical_nonempty_lines": 15,
|
||||
"canonical_lines_present": 0,
|
||||
"canonical_normalized_count": 0,
|
||||
"policy_marker_present": false
|
||||
},
|
||||
{
|
||||
"phase": "global-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user",
|
||||
"assistant",
|
||||
"tool"
|
||||
],
|
||||
"system_chars": 8525,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 0,
|
||||
"tool_results": 1,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "ee51a78d1f242a05c3bf6a85fa4dbf3bf257bc560a1dd250c0aca53856d3c12f",
|
||||
"canonical_nonempty_lines": 15,
|
||||
"canonical_lines_present": 0,
|
||||
"canonical_normalized_count": 0,
|
||||
"policy_marker_present": false
|
||||
},
|
||||
{
|
||||
"phase": "chat-system",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user"
|
||||
],
|
||||
"system_chars": 8660,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 1,
|
||||
"tool_results": 0,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "ab4af9fc2d62b99632162dc7a35f2cfa747655ee68d546efe06bad1da49363cf",
|
||||
"canonical_nonempty_lines": 15,
|
||||
"canonical_lines_present": 0,
|
||||
"canonical_normalized_count": 0,
|
||||
"policy_marker_present": false
|
||||
},
|
||||
{
|
||||
"phase": "chat-system",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user",
|
||||
"assistant",
|
||||
"tool"
|
||||
],
|
||||
"system_chars": 8660,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 1,
|
||||
"tool_results": 1,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "d06e4fb77c68c5e64658c9a8bd6c53226fd65dd899923615e1c7e46ce491be4e",
|
||||
"canonical_nonempty_lines": 15,
|
||||
"canonical_lines_present": 0,
|
||||
"canonical_normalized_count": 0,
|
||||
"policy_marker_present": false
|
||||
},
|
||||
{
|
||||
"phase": "per-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user"
|
||||
],
|
||||
"system_chars": 8660,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 1,
|
||||
"tool_results": 0,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "a0559546bc6825a6ae94270992757a4fa6016ed575b7b53a1d0bde9863bbc472",
|
||||
"canonical_nonempty_lines": 15,
|
||||
"canonical_lines_present": 0,
|
||||
"canonical_normalized_count": 0,
|
||||
"policy_marker_present": false
|
||||
},
|
||||
{
|
||||
"phase": "per-model",
|
||||
"model": "flash-next-strata-iq3",
|
||||
"roles": [
|
||||
"system",
|
||||
"user",
|
||||
"assistant",
|
||||
"tool"
|
||||
],
|
||||
"system_chars": 8660,
|
||||
"canonical_count": 0,
|
||||
"canonical_sha256": "11c84b22ec4024bb52afa431bf85ab0860d606ff3db6fc986421673d08deff1c",
|
||||
"test_rule_count": 1,
|
||||
"tool_results": 1,
|
||||
"tools_count": 66,
|
||||
"body_sha256": "8165d6179b4af33c2fb6dcbf20620acad320ed52942c431dee642c16b6d2b6ea",
|
||||
"canonical_nonempty_lines": 15,
|
||||
"canonical_lines_present": 0,
|
||||
"canonical_normalized_count": 0,
|
||||
"policy_marker_present": false
|
||||
}
|
||||
],
|
||||
"inbound": [
|
||||
{
|
||||
"model": "athena-audit-strata",
|
||||
"incoming_param_keys": [
|
||||
"model_controls",
|
||||
"tool_approval_mode"
|
||||
],
|
||||
"system_param_present": false,
|
||||
"system_param_type": "NoneType",
|
||||
"system_param_chars": null,
|
||||
"system_param_is_canonical": false,
|
||||
"incoming_system_chars": 0,
|
||||
"incoming_canonical_count": 0,
|
||||
"effective_model_prompt_chars": 0
|
||||
},
|
||||
{
|
||||
"model": "athena-audit-strata",
|
||||
"incoming_param_keys": [
|
||||
"model_controls",
|
||||
"tool_approval_mode"
|
||||
],
|
||||
"system_param_present": false,
|
||||
"system_param_type": "NoneType",
|
||||
"system_param_chars": null,
|
||||
"system_param_is_canonical": false,
|
||||
"incoming_system_chars": 0,
|
||||
"incoming_canonical_count": 0,
|
||||
"effective_model_prompt_chars": 0
|
||||
},
|
||||
{
|
||||
"model": "athena-audit-strata",
|
||||
"incoming_param_keys": [
|
||||
"custom_params",
|
||||
"model_controls",
|
||||
"system",
|
||||
"tool_approval_mode"
|
||||
],
|
||||
"system_param_present": true,
|
||||
"system_param_type": "str",
|
||||
"system_param_chars": 134,
|
||||
"system_param_is_canonical": false,
|
||||
"incoming_system_chars": 134,
|
||||
"incoming_canonical_count": 0,
|
||||
"effective_model_prompt_chars": 0
|
||||
},
|
||||
{
|
||||
"model": "athena-audit-strata",
|
||||
"incoming_param_keys": [
|
||||
"custom_params",
|
||||
"model_controls",
|
||||
"tool_approval_mode"
|
||||
],
|
||||
"system_param_present": false,
|
||||
"system_param_type": "NoneType",
|
||||
"system_param_chars": null,
|
||||
"system_param_is_canonical": false,
|
||||
"incoming_system_chars": 0,
|
||||
"incoming_canonical_count": 0,
|
||||
"effective_model_prompt_chars": 0
|
||||
}
|
||||
],
|
||||
"chats": [
|
||||
{
|
||||
"id": "fe0f7be7-a2e7-4508-991f-7aeaf83055d9",
|
||||
"done": true,
|
||||
"answer_has_tool_canary": true,
|
||||
"answer_starts_with_system_canary": false,
|
||||
"tool_calls": {
|
||||
"run_command": 1
|
||||
},
|
||||
"usage": {
|
||||
"prompt_tokens": 14636,
|
||||
"completion_tokens": 28,
|
||||
"total_tokens": 29135,
|
||||
"prompt_tokens_details": {
|
||||
"cached_tokens": 14396
|
||||
},
|
||||
"cache_n": 14396,
|
||||
"prompt_n": 240,
|
||||
"prompt_ms": 1766.5,
|
||||
"prompt_per_token_ms": 7.36,
|
||||
"prompt_per_second": 135.9,
|
||||
"predicted_n": 28,
|
||||
"predicted_ms": 464.0,
|
||||
"predicted_per_token_ms": 16.571,
|
||||
"predicted_per_second": 60.3,
|
||||
"draft_n": 27,
|
||||
"draft_n_accepted": 15,
|
||||
"input_tokens": 29037,
|
||||
"output_tokens": 98
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "748e9cc4-986a-47da-957e-3b2e137c339d",
|
||||
"done": true,
|
||||
"answer_has_tool_canary": true,
|
||||
"answer_starts_with_system_canary": false,
|
||||
"tool_calls": {
|
||||
"run_command": 1
|
||||
},
|
||||
"usage": {
|
||||
"prompt_tokens": 14637,
|
||||
"completion_tokens": 26,
|
||||
"total_tokens": 29157,
|
||||
"prompt_tokens_details": {
|
||||
"cached_tokens": 14397
|
||||
},
|
||||
"cache_n": 14397,
|
||||
"prompt_n": 240,
|
||||
"prompt_ms": 1890.2,
|
||||
"prompt_per_token_ms": 7.876,
|
||||
"prompt_per_second": 127.0,
|
||||
"predicted_n": 26,
|
||||
"predicted_ms": 356.0,
|
||||
"predicted_per_token_ms": 13.692,
|
||||
"predicted_per_second": 73.0,
|
||||
"draft_n": 24,
|
||||
"draft_n_accepted": 17,
|
||||
"input_tokens": 29039,
|
||||
"output_tokens": 118
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "5390fae2-5d4b-429c-a128-439ae0df4369",
|
||||
"done": true,
|
||||
"answer_has_tool_canary": true,
|
||||
"answer_starts_with_system_canary": false,
|
||||
"tool_calls": {
|
||||
"run_command": 1
|
||||
},
|
||||
"usage": {
|
||||
"prompt_tokens": 14636,
|
||||
"completion_tokens": 26,
|
||||
"total_tokens": 29138,
|
||||
"prompt_tokens_details": {
|
||||
"cached_tokens": 14396
|
||||
},
|
||||
"cache_n": 14396,
|
||||
"prompt_n": 240,
|
||||
"prompt_ms": 1817.8,
|
||||
"prompt_per_token_ms": 7.574,
|
||||
"prompt_per_second": 132.0,
|
||||
"predicted_n": 26,
|
||||
"predicted_ms": 349.9,
|
||||
"predicted_per_token_ms": 13.458,
|
||||
"predicted_per_second": 74.3,
|
||||
"draft_n": 24,
|
||||
"draft_n_accepted": 17,
|
||||
"input_tokens": 29037,
|
||||
"output_tokens": 101
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "839b2135-d2d7-46a0-9818-0a8176d082b4",
|
||||
"done": true,
|
||||
"answer_has_tool_canary": true,
|
||||
"answer_starts_with_system_canary": true,
|
||||
"tool_calls": {
|
||||
"run_command": 1
|
||||
},
|
||||
"usage": {
|
||||
"prompt_tokens": 14670,
|
||||
"completion_tokens": 119,
|
||||
"total_tokens": 29330,
|
||||
"prompt_tokens_details": {
|
||||
"cached_tokens": 14430
|
||||
},
|
||||
"cache_n": 14430,
|
||||
"prompt_n": 240,
|
||||
"prompt_ms": 1657.4,
|
||||
"prompt_per_token_ms": 6.906,
|
||||
"prompt_per_second": 144.8,
|
||||
"predicted_n": 119,
|
||||
"predicted_ms": 1650.0,
|
||||
"predicted_per_token_ms": 13.866,
|
||||
"predicted_per_second": 72.1,
|
||||
"draft_n": 104,
|
||||
"draft_n_accepted": 73,
|
||||
"input_tokens": 29105,
|
||||
"output_tokens": 225
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "d263473a-2727-4eb3-9bc4-5732abdfbba0",
|
||||
"done": true,
|
||||
"answer_has_tool_canary": true,
|
||||
"answer_starts_with_system_canary": true,
|
||||
"tool_calls": {
|
||||
"run_command": 1
|
||||
},
|
||||
"usage": {
|
||||
"prompt_tokens": 14669,
|
||||
"completion_tokens": 86,
|
||||
"total_tokens": 29265,
|
||||
"prompt_tokens_details": {
|
||||
"cached_tokens": 14430
|
||||
},
|
||||
"cache_n": 14430,
|
||||
"prompt_n": 239,
|
||||
"prompt_ms": 1722.7,
|
||||
"prompt_per_token_ms": 7.208,
|
||||
"prompt_per_second": 138.7,
|
||||
"predicted_n": 86,
|
||||
"predicted_ms": 1357.5,
|
||||
"predicted_per_token_ms": 15.785,
|
||||
"predicted_per_second": 63.4,
|
||||
"draft_n": 87,
|
||||
"draft_n_accepted": 53,
|
||||
"input_tokens": 29104,
|
||||
"output_tokens": 161
|
||||
}
|
||||
}
|
||||
],
|
||||
"test_constraints": {
|
||||
"actual_webui": "0.11.4 dev, Safari WebApp",
|
||||
"backend": "Athena Deck, existing Strata IQ3",
|
||||
"fresh_chats": 5,
|
||||
"serial": true,
|
||||
"global_prompt_mutated": false,
|
||||
"prompt_workaround_bypassed_only_test_model": true,
|
||||
"production_connection_redirected": false,
|
||||
"all_requests_include_66_tools": true,
|
||||
"ui_location_disabled_after_first_test_and_restored": true,
|
||||
"upstream_body_forwarded_unmodified": true,
|
||||
"private_text_or_credentials_recorded": false
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user