mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-10 03:30:56 +00:00
13 lines
No EOL
427 B
Python
13 lines
No EOL
427 B
Python
import os
|
|
|
|
if os.environ.get('DASHSCOPE_API_KEY', None) is None \
|
|
and os.environ.get('API_KEY', None) is None:
|
|
os.environ['DASHSCOPE_API_KEY'] = \
|
|
input(
|
|
'\n\n'
|
|
'Missing api key from dashscope ( `https://help.aliyun.com/zh/model-studio/developer-reference/get-api-key` ), '
|
|
'please provide DASHSCOPE_API_KEY and press Enter:'
|
|
)
|
|
|
|
from memoryscope import cli
|
|
cli() |