Skip to content

RHAIENG-5038: fix missing milvus deps in llama-server targets#98

Merged
mpk-droid merged 1 commit into
mainfrom
fix/RHAIENG-5038-llama-server-missing-deps
May 13, 2026
Merged

RHAIENG-5038: fix missing milvus deps in llama-server targets#98
mpk-droid merged 1 commit into
mainfrom
fix/RHAIENG-5038-llama-server-missing-deps

Conversation

@mpk-droid
Copy link
Copy Markdown
Contributor

@mpk-droid mpk-droid commented May 12, 2026

Ticket

RHAIENG-5038

Summary

  • Added pymilvus==2.6.9, milvus-lite>=2.5.1, and setuptools>=80.9.0,<82.0.0 to the llama-server Makefile target in 8 agents (langgraph/{react_agent, human_in_the_loop, agentic_rag, react_with_database_memory}, llamaindex/websearch_agent, crewai/websearch_agent, google/adk, langflow/simple_tool_calling_agent)
  • Added mkdir -p ../../../milvus_data to the llama-server target so it works standalone without running make ollama first
  • Removed milvus_data directory creation from the ollama target (6 agents) since it's a llama-stack concern, not an ollama concern
  • autogen/mcp_agent already had correct deps in its pyproject.toml [llama] extra — no changes needed
  • vanilla_python/openai_responses_agent and a2a/langgraph_crewai_agent have no llama-server target (by design) — not affected

Test plan

For all 9 agents with a llama-server target, verified clean venv install + milvus imports:

  • langgraph/react_agent — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • langgraph/human_in_the_loop — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • langgraph/agentic_rag — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • langgraph/react_with_database_memory — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • llamaindex/websearch_agent — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • crewai/websearch_agent — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • google/adk — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • langflow/simple_tool_calling_agent — pymilvus 2.6.9, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK
  • autogen/mcp_agent (no changes, baseline) — pymilvus 3.0.0, milvus_lite OK, setuptools 81.0.0, llama_stack OK, milvus_data OK

Assisted by Claude Opus 4.6 (1M context)

The shared run_llama_server.yaml configures inline::milvus as the
vector_io provider, but 8 agent Makefiles only installed llama-stack
and ollama — missing pymilvus, milvus-lite, and a setuptools upper
bound (<82.0.0) needed to avoid the removed pkg_resources API.

Also moves milvus_data directory creation from the ollama target into
llama-server where it actually belongs.

Closes: RHAIENG-5038

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 12, 2026

Review Change Stack
No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: ddc8b2f2-2ccb-4971-aa6f-2bf55c664061

📥 Commits

Reviewing files that changed from the base of the PR and between 6be61b4 and 7ebbd4f.

📒 Files selected for processing (8)
  • agents/crewai/websearch_agent/Makefile
  • agents/google/adk/Makefile
  • agents/langflow/simple_tool_calling_agent/Makefile
  • agents/langgraph/agentic_rag/Makefile
  • agents/langgraph/human_in_the_loop/Makefile
  • agents/langgraph/react_agent/Makefile
  • agents/langgraph/react_with_database_memory/Makefile
  • agents/llamaindex/websearch_agent/Makefile

📝 Walkthrough

Walkthrough

Eight agent setup Makefiles are updated in parallel with two changes: ollama targets now display completion messaging, and llama-server targets add pymilvus, milvus-lite, and constrained setuptools dependencies to enable vector database functionality.

Changes

Milvus Vector Database and Setup Flow

Layer / File(s) Summary
Ollama target completion messaging
agents/google/adk/Makefile, agents/langgraph/agentic_rag/Makefile, agents/langgraph/human_in_the_loop/Makefile, agents/langgraph/react_agent/Makefile, agents/langgraph/react_with_database_memory/Makefile, agents/llamaindex/websearch_agent/Makefile
Six agent Makefile ollama targets add a post-pull blank line and "Done. Run 'make llama-server'…" message to guide users through the next setup step.
Llama-server Milvus dependency expansion
agents/crewai/websearch_agent/Makefile, agents/google/adk/Makefile, agents/langflow/simple_tool_calling_agent/Makefile, agents/langgraph/agentic_rag/Makefile, agents/langgraph/human_in_the_loop/Makefile, agents/langgraph/react_agent/Makefile, agents/langgraph/react_with_database_memory/Makefile, agents/llamaindex/websearch_agent/Makefile
All eight agent Makefile llama-server targets expand their uv pip install commands to include pymilvus==2.6.9, milvus-lite>=2.5.1, and a constrained setuptools>=80.9.0,<82.0.0 version range alongside existing Llama Stack and Ollama packages.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: adding missing Milvus dependencies to llama-server targets across agents.
Description check ✅ Passed The description is well-detailed and directly related to the changeset, explaining the fix, affected agents, test plan, and reasoning for modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/RHAIENG-5038-llama-server-missing-deps

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@tarun-etikala tarun-etikala left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Copy Markdown
Contributor

@andrewdonheiser andrewdonheiser left a comment

Choose a reason for hiding this comment

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

👍

@mpk-droid mpk-droid merged commit 50b4dec into main May 13, 2026
6 checks passed
@mpk-droid mpk-droid deleted the fix/RHAIENG-5038-llama-server-missing-deps branch May 13, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants