Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

dev_settings: Switch topic summarization to Groq's OpenAI-compatible API.

Aman Agrawalb33c18306044
diff --git a/zproject/dev_settings.py b/zproject/dev_settings.py
index 07e8c8b1af5..8afc870f290 100644
--- a/zproject/dev_settings.py
+++ b/zproject/dev_settings.py
@@ -230,7 +230,8 @@ DEMO_ORG_DEADLINE_DAYS = 30
if external_host_env is None and not IS_DEV_DROPLET:
USING_CAPTCHA = True
-TOPIC_SUMMARIZATION_MODEL = "groq/llama-3.3-70b-versatile"
+TOPIC_SUMMARIZATION_MODEL = "llama-3.3-70b-versatile"
+TOPIC_SUMMARIZATION_API_BASE = "https://api.groq.com/openai/v1"
# Defaults based on groq's pricing for Llama 3.3 70B Versatile 128k.
# https://groq.com/pricing/
OUTPUT_COST_PER_GIGATOKEN = 590