Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Cri::ProviderRegistration
Inherits
Reference
<
Object
Constructors
new
(id :
String
, title :
String
, api_type :
String
, endpoint :
String
, model :
String
, transport_type :
String
= "http+sse", auth_flows :
Array
(
Auth::Flow
) = [] of
Auth::Flow
, source :
String
= "built-in", models :
Array
(
ModelRef
) = [] of
ModelRef
)
Source
Instance methods
api_type
Source
auth_flow
(id :
String
) :
Auth::Flow
Source
auth_flows
Source
endpoint
Source
for_flow
(flow :
Auth::Flow
) : self
Source
for_model
(model_ref :
ModelRef
) : self
Source
id
Source
model
Source
model_refs
Source
models
Source
replace_models
(models :
Array
(
ModelRef
)) :
Nil
Source
source
Source
title
Source
to_auth_provider
Source
transport_type
Source