mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-31 00:29:24 +00:00
Load tools at launch
This commit is contained in:
@@ -258,7 +258,7 @@ fn extract_response(response: &Val) -> Result<(Option<String>, Option<String>),
|
||||
|
||||
for (name, val) in fields {
|
||||
match name.as_str() {
|
||||
"result" => {
|
||||
"output" => {
|
||||
if let Val::Option(Some(inner)) = val {
|
||||
if let Val::String(s) = inner.as_ref() {
|
||||
result = Some(s.to_string());
|
||||
|
||||
Reference in New Issue
Block a user