You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "Croway (via GitHub)" <gi...@apache.org> on 2026/05/08 13:17:32 UTC
[PR] chore(camel-ai): langchain4j-chat producer-only, agent docs, spring-ai type converters [camel]
Croway opened a new pull request, #23088:
URL: https://github.com/apache/camel/pull/23088
## Summary
- **langchain4j-chat**: Mark as `producerOnly` (consumer superseded by langchain4j-agent), remove consumer-related options, fix deprecated model references (`gpt-3.5-turbo` → `gpt-4o-mini`, `ChatLanguageModel` → `ChatModel`), fix header class references, fix operation name typos (`CHAT_SIMPLE_MESSAGE` → `CHAT_SINGLE_MESSAGE`), and improve type handling in the producer
- **langchain4j-agent**: Fix documentation — transport type description (`streamableHttp` alias), correct header name (`CamelLangChain4jAgentMemoryId`), fix Guardrails import path, add `oauthProfile` MCP property
- **spring-ai**: Replace direct `instanceof String` checks with `getBody(String.class)` across all Spring AI producers to leverage Camel's type converter system for automatic body conversion
## Test plan
- [ ] Verify CI passes (build, tests, generated file checks)
- [ ] Verify langchain4j-chat no longer exposes consumer endpoints
- [ ] Verify Spring AI producers accept non-String body types that are convertible to String
_Claude Code on behalf of Federico Mariani_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(camel-ai): langchain4j-chat producer-only, agent docs, spring-ai type converters [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23088:
URL: https://github.com/apache/camel/pull/23088#issuecomment-4406840266
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `catalog/camel-catalog`
- `components/camel-ai/camel-langchain4j-agent`
- `components/camel-ai/camel-langchain4j-chat`
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-chat`
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-embeddings`
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-image`
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-vector-store`
- `dsl/camel-componentdsl`
- `dsl/camel-endpointdsl`
:warning: **Some tests are disabled on GitHub Actions** (`@DisabledIfSystemProperty(named = "ci.env.name")`) and require manual verification:
- `components/camel-ai/camel-langchain4j-agent`: 14 test(s) disabled on GitHub Actions
- `components/camel-ai/camel-langchain4j-chat`: 1 test(s) disabled on GitHub Actions
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-chat`: 21 test(s) disabled on GitHub Actions
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-embeddings`: 1 test(s) disabled on GitHub Actions
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-image`: 1 test(s) disabled on GitHub Actions
- `components/camel-spring-parent/camel-spring-ai/camel-spring-ai-vector-store`: 1 test(s) disabled on GitHub Actions
<details><summary>All tested modules (16 modules)</summary>
- Camel :: AI :: LangChain4j :: Agent
- Camel :: AI :: LangChain4j :: Chat
- Camel :: Catalog :: Camel Catalog
- Camel :: Component DSL
- Camel :: Endpoint DSL
- Camel :: JBang :: MCP
- Camel :: JBang :: Plugin :: Route Parser
- Camel :: JBang :: Plugin :: TUI
- Camel :: JBang :: Plugin :: Validate
- Camel :: Launcher :: Container
- Camel :: Spring AI :: Chat
- Camel :: Spring AI :: Embeddings
- Camel :: Spring AI :: Image
- Camel :: Spring AI :: Vector Store
- Camel :: YAML DSL :: Validator
- Camel :: YAML DSL :: Validator Maven Plugin
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/25557735315)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(camel-ai): langchain4j-chat producer-only, agent docs, spring-ai type converters [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23088:
URL: https://github.com/apache/camel/pull/23088#issuecomment-4406715927
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(camel-ai): langchain4j-chat producer-only, agent docs, spring-ai type converters [camel]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway merged PR #23088:
URL: https://github.com/apache/camel/pull/23088
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org