Skip to content

Commit 2896ab1

Browse files
committed
Update llm model
1 parent 59199e5 commit 2896ab1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎examples/src/simulflow_examples/text_chat.clj‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
(:require
44
[clojure.core.async :as a]
55
[clojure.core.async.flow :as flow]
6-
[simulflow-examples.scenario-example :as scenario-example]
7-
[simulflow.processors.google :as google]
86
[simulflow.processors.llm-context-aggregator :as context]
7+
[simulflow.processors.openai :as openai]
98
[simulflow.scenario-manager :as sm]
109
[simulflow.secrets :refer [secret]]
1110
[simulflow.transport.text-in :as text-in]
@@ -70,8 +69,9 @@
7069
:args {:llm/context context
7170
:aggregator/debug? debug?}}
7271
;; Generate LLM responses with streaming
73-
:llm {:proc google/google-llm-process
74-
:args {:google/api-key (secret [:google :api-key])}}
72+
:llm {:proc openai/openai-llm-process
73+
:args {:openai/api-key (secret [:openai :api-key])
74+
:llm/model :gpt-4.1-mini}}
7575
;; Handle assistant message assembly for context
7676
:assistant-context-assembler {:proc context/assistant-context-assembler
7777
:args {:debug? debug?}}

0 commit comments

Comments
 (0)