fixed bugs

This commit is contained in:
belviskhoremk
2026-02-23 14:50:47 +00:00
parent 6fc607e32c
commit 2976c04eb1
2 changed files with 3 additions and 3 deletions

View File

@@ -78,8 +78,8 @@ PLAN_LIMITS = {
"max_chatbots": 3, "max_chatbots": 3,
"max_published": 3, "max_published": 3,
"models": [ "models": [
"accounts/fireworks/models/llama-v3p1-70b-instruct", "accounts/fireworks/models/kimi-k2-instruct-0905",
"accounts/fireworks/models/mixtral-8x7b-instruct", "accounts/fireworks/models/deepseek-v3p2",
"gpt-4o", "gpt-4o",
"gpt-4-turbo", "gpt-4-turbo",
"gpt-3.5-turbo", "gpt-3.5-turbo",

View File

@@ -222,7 +222,7 @@ def _format_chatbot(chatbot: dict, supabase) -> ChatbotResponse:
name=chatbot["name"], name=chatbot["name"],
description=chatbot.get("description"), description=chatbot.get("description"),
system_prompt=chatbot.get("system_prompt"), system_prompt=chatbot.get("system_prompt"),
model=chatbot.get("model", "accounts/fireworks/models/llama-v3p1-70b-instruct"), model=chatbot.get("model", "accounts/fireworks/models/kimi-k2-instruct-0905"),
temperature=chatbot.get("temperature", 0.7), temperature=chatbot.get("temperature", 0.7),
max_tokens=chatbot.get("max_tokens", 1000), max_tokens=chatbot.get("max_tokens", 1000),
primary_color=chatbot.get("primary_color", "#6366f1"), primary_color=chatbot.get("primary_color", "#6366f1"),