- Use `tokio::spawn` to run Redis SET for `SET_CONTEXT` in a background task with detailed tracing. - Move context retrieval from `BotOrchestrator` to `SessionManager`, inserting it as a system message in conversation history. - Remove redundant Redis fetch logic from `BotOrchestrator`. - Update `DEV.md` to install `valkey-cli`, reorder cargo tools, and adjust apt commands. - Add a `SET_CONTEXT "azul bolinha"` example to the announcements template.
7 lines
191 B
QBasic
7 lines
191 B
QBasic
TALK "Olá, estou preparando um resumo para você."
|
|
|
|
SET_CONTEXT "azul bolinha"
|
|
|
|
REM text = GET "default.pdf"
|
|
REM resume = LLM "Say Hello and present a a resume from " + text
|
|
REM TALK resume
|