Skip to content

Commit 1f0e3c1

Browse files
author
vbarda
committed
fix
1 parent 084af15 commit 1f0e3c1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

backend/graph.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,11 @@ class AgentState(TypedDict):
154154
temperature=0,
155155
cohere_api_key=os.environ.get("COHERE_API_KEY", "not_provided"),
156156
)
157-
groq_llama3 = ChatGroq(model="llama3-70b-8192")
157+
groq_llama3 = ChatGroq(
158+
model="llama3-70b-8192",
159+
temperature=0,
160+
groq_api_key=os.environ.get("GROQ_API_KEY", "not_provided"),
161+
)
158162
llm = gpt_3_5.configurable_alternatives(
159163
# This gives this field an id
160164
# When configuring the end runnable, we can then use this id to configure this field

frontend/app/components/ChatWindow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ export function ChatWindow() {
328328
<option value="fireworks_mixtral">
329329
Mixtral (via Fireworks.ai)
330330
</option>
331-
<option value="groq_llama3">
331+
<option value="groq_llama_3">
332332
Llama 3 (via Groq.com)
333333
</option>
334334
<option value="cohere_command">Cohere</option>

0 commit comments

Comments
 (0)