Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Crig::Providers::Gemini::FunctionCallingMode
Inherits
Struct
<
Value
<
Object
Constructors
from_tool_choice
(value :
Crig::Completion::ToolChoice
) : self
Source
new
(mode :
FunctionCallingModeTag
, allowed_function_names :
Array
(
String
) |
Nil
= nil)
Source
Instance methods
allowed_function_names
Source
mode
Source
to_json
(json :
JSON::Builder
) :
Nil
Source