blob: 8ba297795f339e18fe1d3bbe92b77451b62096d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
module Dispatch
module Adapter
ModelInfo = Struct.new(
:id, :name, :max_context_tokens,
:supports_vision, :supports_tool_use, :supports_streaming,
:premium_request_multiplier,
keyword_init: true
) do
def initialize(id:, name:, max_context_tokens:, supports_vision:, supports_tool_use:, supports_streaming:,
premium_request_multiplier: nil)
super
end
end
end
end
|