Skip to content

CAMEL-23382: migrate ai-agent example from spring-ai-tools to ai-tool - #189

Merged
Croway merged 2 commits into
mainfrom
ai-tool-migration
Aug 7, 2026
Merged

CAMEL-23382: migrate ai-agent example from spring-ai-tools to ai-tool#189
Croway merged 2 commits into
mainfrom
ai-tool-migration

Conversation

@Croway

@Croway Croway commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

The camel-spring-ai-tools component was removed in favor of the new framework-agnostic camel-ai-tool component (CAMEL-23382).

  • Replace camel-spring-ai-tools-starter with camel-ai-tool-starter
  • Change the tool consumer URI from spring-ai-tools: to ai-tool: (options unchanged)
  • Bump Spring AI from 2.0.0-M2 to 2.0.0 to match the version Camel 4.22 is built against (M2 caused a NoSuchMethodError in the chat routes)
  • Use savedLocation in the weather message, since the location header is lost after the second HTTP call

Verified end to end against local Ollama and Qdrant: chat, vector store, and tool calling (spring-ai-chat?tags=weather discovers the ai-tool route via the shared AiToolRegistry) all work.

🤖 Generated with Claude Code

@Croway
Croway requested review from davsclaus and oscerd August 7, 2026 07:41
@Croway
Croway merged commit f28c7a7 into main Aug 7, 2026
1 check passed
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