mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-10-07 03:00:27 +00:00
fix(app): update flowllm dependency and add environment variable check
- Update flowllm dependency to version 0.1.9 - Add environment variable check for FLOW_APP_NAME
This commit is contained in:
parent
6eff6e5cd9
commit
3d430c2d24
2 changed files with 5 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ classifiers = [
|
|||
keywords = ["llm", "memory", "experience", "memoryscope", "ai", "mcp", "http"]
|
||||
|
||||
dependencies = [
|
||||
"flowllm>=0.1.9",
|
||||
"flowllm==0.1.9",
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
|
|
|
|||
|
|
@ -1,9 +1,13 @@
|
|||
import os
|
||||
import sys
|
||||
import warnings
|
||||
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="websockets")
|
||||
warnings.filterwarnings("ignore", category=DeprecationWarning, module="uvicorn")
|
||||
|
||||
assert "FLOW_APP_NAME" in os.environ, "please set FLOW_APP_NAME in `.env`"
|
||||
|
||||
|
||||
from flowllm.app import FlowLLMApp
|
||||
|
||||
from reme_ai.config.config_parser import ConfigParser
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue