diff --git a/agent-api/agents.py b/agent-api/agents.py index 1932f80..a739f3e 100644 --- a/agent-api/agents.py +++ b/agent-api/agents.py @@ -118,6 +118,7 @@ class AgentConfig: depends_on: list[str] = field(default_factory=list) # Chuỗi gợi ý truy vấn RAG riêng cho từng role. Thay vì dùng nguyên user_input, # rag-api sẽ nhận chuỗi này để lấy context chính xác hơn cho từng vai trò SDLC. + rag_query_hint: str = "" # ────────────────────────────────────────────────────────────────────────────── diff --git a/docker-compose.yml b/docker-compose.yml index 5663ec4..3776ac9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -195,6 +195,7 @@ services: RAG_EMBEDDING_MODEL: ${EMBEDDING_MODEL} RAG_TOP_K: ${RAG_TOP_K} USER_AGENT: "YAN-AI/1.0" + CORS_ALLOW_ORIGIN: "http://18.191.161.84:8085,http://localhost:8085,http://127.0.0.1:8085" networks: - yan depends_on: