struct

Crig::Providers::OpenRouter::CompletionModel

Inherits Crig::Completion::CompletionModel < Struct < Value < Object

Constructors

make(client : Client, model : String) : self
Source
new(client : Client, model : String, strict_tools : Bool = false)
Source

Class methods

build_request(model : String, req : Crig::Completion::Request::CompletionRequest, strict_tools : Bool) : OpenrouterCompletionRequest
Source

Instance methods

client
Source
into_agent_builder
Source
model
Source
strict_tools?
Source
with_strict_tools
Source