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:
jinli.yl 2025-09-16 17:01:17 +08:00
parent 6eff6e5cd9
commit 3d430c2d24
2 changed files with 5 additions and 1 deletions

View file

@ -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]

View file

@ -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