summaryrefslogtreecommitdiffhomepage
path: root/lib/dispatch/adapter/response.rb
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-04-28 14:10:04 +0900
committerAdam Malczewski <[email protected]>2026-04-28 14:10:04 +0900
commit1ec2afaa21b8c3ef336982e80259b9bb79e3fb32 (patch)
tree7cf43fbd4efc6d6834744d800822255fd3d44d05 /lib/dispatch/adapter/response.rb
parente6c2f23b58a1e87088ee75632c74fee4f15f6a94 (diff)
downloaddispatch-adapter-copilot-1ec2afaa21b8c3ef336982e80259b9bb79e3fb32.tar.gz
dispatch-adapter-copilot-1ec2afaa21b8c3ef336982e80259b9bb79e3fb32.zip
updatesdev
Diffstat (limited to 'lib/dispatch/adapter/response.rb')
-rw-r--r--lib/dispatch/adapter/response.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/dispatch/adapter/response.rb b/lib/dispatch/adapter/response.rb
deleted file mode 100644
index b4ba3eb..0000000
--- a/lib/dispatch/adapter/response.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-module Dispatch
- module Adapter
- Response = Struct.new(:content, :tool_calls, :model, :stop_reason, :usage, keyword_init: true) do
- def initialize(model:, stop_reason:, usage:, content: nil, tool_calls: [])
- super
- end
- end
-
- Usage = Struct.new(:input_tokens, :output_tokens, :cache_read_tokens, :cache_creation_tokens, keyword_init: true) do
- def initialize(input_tokens:, output_tokens:, cache_read_tokens: 0, cache_creation_tokens: 0)
- super
- end
- end
-
- StreamDelta = Struct.new(:type, :text, :tool_call_id, :tool_name, :argument_delta, keyword_init: true) do
- def initialize(type:, text: nil, tool_call_id: nil, tool_name: nil, argument_delta: nil)
- super
- end
- end
- end
-end