Persona live organ: one-turn, drain, wake-humans-pace, turn memory (squash of hands/persona-live-drain) #83
1 changed files with 1 additions and 1 deletions
public surface: Failed carries outage
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit
cede45d2dd
|
|
@ -301,7 +301,7 @@ mind_body::projection::narrate: impl std :: fmt :: Display for Failed
|
|||
mind_body::projection::narrate: pub trait Model { fn ask (& self , request_id : & str , model : & str , prompt : & str , schema : Option < & str >) -> std :: result :: Result < Answer , Failed > ; fn converse (& self , request_id : & str , model : & str , turns : & [Turn]) -> std :: result :: Result < Continued , Failed > { let text : Vec < & str > = turns . iter () . map (| turn | match turn { Turn :: User (text) => text . as_str () , Turn :: Assistant { text , .. } => text . as_str () , }) . collect () ; self . ask (request_id , model , & text . join ("\n\n") , None) . map (| answer | Continued { answer , states : Vec :: new () }) } }
|
||||
mind_body::projection::narrate: struct Answer # [derive (Clone , Debug , PartialEq , Eq)] pub-fields[text: String, usage: Option < Spent >]
|
||||
mind_body::projection::narrate: struct Continued # [derive (Clone , Debug , PartialEq , Eq)] pub-fields[answer: Answer, states: Vec < Reasoning >]
|
||||
mind_body::projection::narrate: struct Failed # [derive (Clone , Debug , PartialEq , Eq)] pub-fields[reason: String, usage: Option < Spent >]
|
||||
mind_body::projection::narrate: struct Failed # [derive (Clone , Debug , PartialEq , Eq)] pub-fields[reason: String, outage: bool, usage: Option < Spent >]
|
||||
mind_body::projection::narrate: struct KitModel pub-fields[]
|
||||
mind_body::projection::narrate: struct Reasoning # [derive (Clone , Debug , PartialEq , Eq)] pub-fields[provider: String, model: String, state: Vec < u8 >]
|
||||
mind_body::projection::narrate: struct Spent # [derive (Clone , Debug , PartialEq , Eq , Serialize)] pub-fields[model: String, input_tokens: u64, output_tokens: u64, cache_read_tokens: u64, cache_write_tokens: u64, reasoning_tokens: Option < u64 >]
|
||||
|
|
|
|||
Loading…
Reference in a new issue