Skip to content

Commit ebd94d1

Browse files
authored
bump version (#23)
1 parent ae5114a commit ebd94d1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/llm_composer/models/open_router.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ defmodule LlmComposer.Models.OpenRouter do
137137

138138
defp maybe_structured_output_headers(headers, opts) do
139139
has_json_schema? =
140-
Keyword.has_key?(opts, :response_format) && opts.response_format.type == "json_schema"
140+
Keyword.has_key?(opts, :response_format) && opts[:response_format].type == "json_schema"
141141

142142
if has_json_schema? do
143-
[headers | {"Content-Type", "application/json"}]
143+
[{"Content-Type", "application/json"} | headers]
144144
else
145145
headers
146146
end

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ defmodule LlmComposer.MixProject do
44
def project do
55
[
66
app: :llm_composer,
7-
version: "0.5.4",
7+
version: "0.5.5",
88
elixir: "~> 1.16",
99
start_permanent: Mix.env() == :prod,
1010
deps: deps(),

0 commit comments

Comments
 (0)