Remove unnecessary async spawn in TALK handling and use `try_send` on the WebSocket channel. Acquire `response_channels` with `try_lock` and spawn an async task only when falling back to the web adapter. Clean up debug logs and add missing `env` import. Also delete an extra blank line in the announcement start script.
6 lines
277 B
QBasic
6 lines
277 B
QBasic
TALK "Olá, pode me perguntar sobre qualquer coisa..."
|
|
let text = GET "default.gbdrive/default.pdf"
|
|
let resume = LLM "Say Hello and present a a resume from " + text
|
|
TALK resume
|
|
SET_CONTEXT "Este é o documento que você deve usar para responder dúvidas: " + text
|
|
return true;
|