Skip to content

complete update#37

Merged
tynab merged 1 commit into
mainfrom
develop
Jun 6, 2026
Merged

complete update#37
tynab merged 1 commit into
mainfrom
develop

Conversation

@tynab

@tynab tynab commented Jun 6, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings June 6, 2026 16:52
@tynab tynab merged commit 5428c79 into main Jun 6, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates runtime configuration to support per-agent RAG query hints in the agent workflow and adds a CORS origin allowlist setting for the Open WebUI service in Docker Compose.

Changes:

  • Add rag_query_hint to AgentConfig to align with existing agent definitions and workflow usage.
  • Add CORS_ALLOW_ORIGIN environment configuration for the open-webui service in docker-compose.yml.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docker-compose.yml Adds a CORS_ALLOW_ORIGIN setting for the open-webui container.
agent-api/agents.py Extends AgentConfig with rag_query_hint used to steer RAG retrieval per role.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docker-compose.yml
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants