diff options
| author | Adam Malczewski <[email protected]> | 2026-04-28 14:11:16 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-04-28 14:11:16 +0900 |
| commit | 07277435c0688ad9f5fa682633b86b99ef5bb854 (patch) | |
| tree | 3e650e97bcbd229f942330542a333dcad1844542 /lib/dispatch/adapter/interface/model_info.rb | |
| download | dispatch-adapter-interface-07277435c0688ad9f5fa682633b86b99ef5bb854.tar.gz dispatch-adapter-interface-07277435c0688ad9f5fa682633b86b99ef5bb854.zip | |
update
Diffstat (limited to 'lib/dispatch/adapter/interface/model_info.rb')
| -rw-r--r-- | lib/dispatch/adapter/interface/model_info.rb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/dispatch/adapter/interface/model_info.rb b/lib/dispatch/adapter/interface/model_info.rb new file mode 100644 index 0000000..8ba2977 --- /dev/null +++ b/lib/dispatch/adapter/interface/model_info.rb @@ -0,0 +1,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 |
