Skip to content

Commit 5a55590

Browse files
authored
fix var name
1 parent b1c7319 commit 5a55590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cohere/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def embed(
5959
response = connection.post("embed") do |req|
6060
req.body = {texts: texts}
6161
req.body[:model] = model if model
62-
req.body[:input_type] = model if input_type
62+
req.body[:input_type] = input_type if input_type
6363
req.body[:truncate] = truncate if truncate
6464
end
6565
response.body

0 commit comments

Comments
 (0)