pub struct BtwResult {
pub question: String,
pub answer: String,
pub usage: TokenUsage,
}Expand description
Result of a /btw ephemeral side question.
The answer is never added to conversation history.
Returned by AgentSession::btw().
Fields§
§question: StringThe original question.
answer: StringThe LLM’s answer.
usage: TokenUsageToken usage for this ephemeral call.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BtwResult
impl RefUnwindSafe for BtwResult
impl Send for BtwResult
impl Sync for BtwResult
impl Unpin for BtwResult
impl UnsafeUnpin for BtwResult
impl UnwindSafe for BtwResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more