Skip to content

Commit

Permalink
feat(place/llm): use status instead of function calls
Browse files Browse the repository at this point in the history
improves performance
  • Loading branch information
stakach committed Oct 18, 2023
1 parent 871524f commit 77dbe20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/place/llm/llm.cr
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ end with follow up questions where applicable),
system.implementing(Interface::ChatFunctions).map do |driver|
{
id: driver.module_name,
capability: driver.capabilities.get.as_s,
capability: driver[:capabilities].as_s,
}
end
end
Expand Down

0 comments on commit 77dbe20

Please sign in to comment.