You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/tools.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ puts response.content
130
130
```
131
131
132
132
{: .warning }
133
-
Ensure the model you select supports function calling/tools. Check model capabilities using `RubyLLM.models.find('your-model-id').supports_functions`. Attempting to use `with_tool` on an unsupported model will raise `RubyLLM::UnsupportedFunctionsError`.
133
+
Ensure the model you select supports function calling/tools. Check model capabilities using `RubyLLM.models.find('your-model-id').supports_functions?`. Attempting to use `with_tool` on an unsupported model will raise `RubyLLM::UnsupportedFunctionsError`.
134
134
135
135
## The Tool Execution Flow
136
136
@@ -210,4 +210,4 @@ Treat any arguments passed to your `execute` method as potentially untrusted use
210
210
* [Chatting with AI Models]({% link guides/chat.md %})
211
211
* [Streaming Responses]({% link guides/streaming.md %}) (See how tools interact with streaming)
212
212
* [Rails Integration]({% link guides/rails.md %}) (Persisting tool calls and results)
213
-
* [Error Handling]({% link guides/error-handling.md %})
213
+
* [Error Handling]({% link guides/error-handling.md %})
0 commit comments