Guard protocol generation against context truncation
This commit is contained in:
@@ -39,6 +39,7 @@ def protocol_result(model: str = "chosen:model") -> DirectProtocolResult:
|
||||
model_metadata={"model": model},
|
||||
runtime_metadata={"model": model, "request_count": 1, "client_wall_time_seconds": 0.5},
|
||||
raw_response={"response": text, "done": True},
|
||||
transcript_input="selected transcript\n",
|
||||
)
|
||||
|
||||
|
||||
@@ -186,6 +187,7 @@ class MvpOrchestratorTests(unittest.TestCase):
|
||||
"transcript/runtime_metadata.json",
|
||||
"context/meeting_context.yaml",
|
||||
"protocol/exact_prompt.txt",
|
||||
"protocol/transcript_input.txt",
|
||||
"protocol/raw_response.json",
|
||||
"protocol/runtime_metadata.json",
|
||||
"protocol.md",
|
||||
|
||||
Reference in New Issue
Block a user