Clean up warnings: StreamToken pub, dead oneshot code, SkipIndex
Made StreamToken pub (was pub(crate), needed by context.rs). Removed dead API_CLIENT, get_client, sampling/priority fields from oneshot. Suppressed pre-existing SkipIndex warning in learn.rs. Co-Authored-By: Proof of Concept <poc@bcachefs.org>
This commit is contained in:
parent
2c401e24d6
commit
14fd8c9b90
4 changed files with 5 additions and 29 deletions
|
|
@ -318,7 +318,7 @@ impl Agent {
|
|||
loop {
|
||||
let _thinking = start_activity(&agent, "thinking...").await;
|
||||
|
||||
let (mut rx, _stream_guard) = {
|
||||
let (rx, _stream_guard) = {
|
||||
let prompt_tokens = agent.assemble_prompt_tokens().await;
|
||||
let st = agent.state.lock().await;
|
||||
agent.client.stream_completion(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue