Skip to content

Commit f0f0790

Browse files
author
yjy
committed
update config
1 parent f4bbfb6 commit f0f0790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/memos/api/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class APIConfig:
2121
def get_openai_config() -> dict[str, Any]:
2222
"""Get OpenAI configuration."""
2323
return {
24-
"model_name_or_path": os.getenv("MOS_OPENAI_MODEL", "gpt-4o-mini"),
24+
"model_name_or_path": os.getenv("MOS_CHAT_MODEL", "gpt-4o-mini"),
2525
"temperature": float(os.getenv("MOS_CHAT_TEMPERATURE", "0.8")),
2626
"max_tokens": int(os.getenv("MOS_MAX_TOKENS", "1024")),
2727
"top_p": float(os.getenv("MOS_TOP_P", "0.9")),

0 commit comments

Comments
 (0)