diff options
| author | Adam Malczewski <[email protected]> | 2026-04-01 17:12:10 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-04-01 17:12:10 +0900 |
| commit | 77a09e59e54540841d7c2cdbe7b6d0f4d1418744 (patch) | |
| tree | b7e9cdbc6c3669bb49675a37435921ee11238289 /lib/dispatch/adapter/model_info.rb | |
| parent | 9aacecab709bd7315a97675750e1874d858bdeef (diff) | |
| download | dispatch-adapter-copilot-77a09e59e54540841d7c2cdbe7b6d0f4d1418744.tar.gz dispatch-adapter-copilot-77a09e59e54540841d7c2cdbe7b6d0f4d1418744.zip | |
add model and pricing info
Diffstat (limited to 'lib/dispatch/adapter/model_info.rb')
| -rw-r--r-- | lib/dispatch/adapter/model_info.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/dispatch/adapter/model_info.rb b/lib/dispatch/adapter/model_info.rb index 73d8a35..8ba2977 100644 --- a/lib/dispatch/adapter/model_info.rb +++ b/lib/dispatch/adapter/model_info.rb @@ -5,7 +5,13 @@ module Dispatch 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 |
