- Execute GET requests in a dedicated thread with its own Tokio runtime, add timeout handling and clearer error messages. - Tighten `is_safe_path` checks and simplify HTTP/S3 logic. - Change `llm_keyword` to accept `Arc<AppState>`, add prompt builder, run LLM generation in an isolated thread with timeout. - Update keyword registration call in `basic/mod.rs`. - Convert template script to use `let` declarations and return a boolean. - Introduce connection‑status indicator in the web UI with styles, automatic reconnection attempts, and proper WS/WSS handling for voice.
9 lines
280 B
QBasic
9 lines
280 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;
|