Revert "Use smaller model so that we don't exhaust tokens"
This reverts commit 9c0e11bc84.
This commit is contained in:
@@ -13,11 +13,7 @@ defmodule MusicLibrary.Chats.CollectionChat do
|
|||||||
def stream_response(messages, {summary, record_count}, callback) do
|
def stream_response(messages, {summary, record_count}, callback) do
|
||||||
instructions = build_instructions(summary, record_count)
|
instructions = build_instructions(summary, record_count)
|
||||||
|
|
||||||
OpenAI.chat_stream(messages,
|
OpenAI.chat_stream(messages, on_chunk: callback, instructions: instructions)
|
||||||
on_chunk: callback,
|
|
||||||
instructions: instructions,
|
|
||||||
model: "gpt-4.1-mini"
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
defp build_instructions(collection_summary, record_count) do
|
defp build_instructions(collection_summary, record_count) do
|
||||||
|
|||||||
Reference in New Issue
Block a user