dave: fix bugs
fixed some bugs i introduced during the refactor Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -45,10 +45,18 @@ impl PartialToolCall {
|
||||
self.id.as_deref()
|
||||
}
|
||||
|
||||
pub fn id_mut(&mut self) -> &mut Option<String> {
|
||||
&mut self.id
|
||||
}
|
||||
|
||||
pub fn name(&self) -> Option<&str> {
|
||||
self.name.as_deref()
|
||||
}
|
||||
|
||||
pub fn name_mut(&mut self) -> &mut Option<String> {
|
||||
&mut self.name
|
||||
}
|
||||
|
||||
pub fn arguments(&self) -> Option<&str> {
|
||||
self.arguments.as_deref()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user