mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-08-28 05:25:04 +00:00
11 lines
No EOL
345 B
Python
11 lines
No EOL
345 B
Python
import os
|
|
|
|
if os.environ.get('DASHSCOPE_API_KEY', None) is None \
|
|
and os.environ.get('OPENAI_API_KEY', None) is None:
|
|
raise RuntimeError(f"""
|
|
Missing api key(dashscope api key or openai api key.
|
|
`https://help.aliyun.com/zh/model-studio/developer-reference/get-api-key` or
|
|
`https://openai.com/`""")
|
|
|
|
from memoryscope import cli
|
|
cli() |