Use "developer" role for remaining developer-intent messages in examples

This commit is contained in:
Paul Kompfner
2026-03-20 17:46:47 -04:00
parent 27fabfc1b3
commit 5806a3f0fa
34 changed files with 39 additions and 39 deletions

View File

@@ -179,7 +179,7 @@ class InputTranscriptionContextFilter(FrameProcessor):
}
)
new_message_content.append(last_part)
msg = {"role": "user", "content": new_message_content}
msg = {"role": "developer", "content": new_message_content}
ctx = LLMContext([{"role": "system", "content": transcriber_system_message}, msg])
await self.push_frame(LLMContextFrame(context=ctx))
@@ -318,7 +318,7 @@ async def run_bot(transport: BaseTransport, runner_args: RunnerArguments):
messages = [
{
"role": "user",
"role": "developer",
"content": "Start by saying hello.",
},
]