Skip to content

Remove internal tool execution from OpenAiChatModel#6257

Closed
stohirov wants to merge 1 commit into
spring-projects:mainfrom
stohirov:remove-internal-tool-execution-openai
Closed

Remove internal tool execution from OpenAiChatModel#6257
stohirov wants to merge 1 commit into
spring-projects:mainfrom
stohirov:remove-internal-tool-execution-openai

Conversation

@stohirov
Copy link
Copy Markdown
Contributor

@stohirov stohirov commented Jun 2, 2026

Part of #6251

Thank you for taking time to contribute this pull request!
You might have already read the contributor guide, but as a reminder, please make sure to:

  • Add a Signed-off-by line to each commit (git commit -s) per the DCO
  • Rebase your changes on the latest main branch and squash your commits
  • Add/Update unit tests as needed
  • Run a build and make sure all tests pass prior to submission

For more details, please check the contributor guide.
Thank you upfront!

Part of spring-projects#6251

Signed-off-by: stohirov <suxrobtoxirov001@gmail.com>

# Conflicts:
#	auto-configurations/models/spring-ai-autoconfigure-model-openai/src/main/java/org/springframework/ai/model/openai/autoconfigure/OpenAiChatAutoConfiguration.java
#	models/spring-ai-openai/src/main/java/org/springframework/ai/openai/OpenAiChatModel.java
@stohirov stohirov force-pushed the remove-internal-tool-execution-openai branch from 3bad551 to 820cf49 Compare June 3, 2026 18:47
@stohirov
Copy link
Copy Markdown
Contributor Author

stohirov commented Jun 3, 2026

@sdeleuze I have a question: currently, while calling the builder().toolCallingManager(toolCallingManager) as it is tagged as deprecated, the build is failing. Should I implement updates that will remove toolCallingManager and use different tool or any other way to work around it? (SurpessWarnings("deprecation")

It is not just OpenAI but in other places as well. Any feedbacks?

I guess you can just run ./mvnw test-compile from origin/main and it should happen automatically

@tzolov tzolov added this to the 2.0.0-RC1 milestone Jun 4, 2026
@tzolov tzolov added enhancement New feature or request tool calling openai labels Jun 4, 2026
@tzolov
Copy link
Copy Markdown
Contributor

tzolov commented Jun 4, 2026

rebased, fix tests and squashed at 85db88a

@tzolov tzolov closed this Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants