Files
XianBW dc7b732b2c feat: add a rag mcp in proposal (#1267)
* add simple rag mcp

* add rag_agent in expGen v2

* add conf config for research rag

* fix CI

* refactor: move context7 and rag config files to new conf modules

* make rag agent general

* fix CI

---------

Co-authored-by: Young <afe.young@gmail.com>
2025-10-20 16:46:25 +08:00

23 lines
418 B
Python

"""
Settings for RAG agent.
TODO: how run the RAG mcp server
"""
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
"""Project specific settings."""
url: str = "http://localhost:8124/mcp"
timeout: int = 120
model_config = SettingsConfigDict(
env_prefix="RAG_",
# extra="allow", # Does it allow extrasettings
)
SETTINGS = Settings()