mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
dc7b732b2c
* 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>
23 lines
418 B
Python
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()
|