spring-ai
spring-ai copied to clipboard
An Application Framework for AI Engineering
**Bug description** According to the [OpenAI Guide](https://platform.openai.com/docs/guides/text#message-roles-and-instruction-following) and the [Model Spec](https://model-spec.openai.com/2025-02-12.html#chain_of_command) the former 'system' role' has now been replaced by the 'developer' role. The o1 range of models reject the...
在使用extra_body时,ChatCompletionRequest类中没有加入@JsonProperty("extra_body"),跟OpenAiChatOptions不一致,导致赋不了值
Closes #4835 As a developer, it would be really helpful to know when the (default) max token count is exceeded, what was the configured max value and what was the...
# APPLICATION FAILED TO START when **create-indices = true** ## Bug description The property `spring.ai.chat.memory.repository.mongo.create-indices = true` causes the following error: ``` *************************** APPLICATION FAILED TO START *************************** Description: An...
This follows the discussion on ticket #3368 This is a draft PR as the work is pretty big, I'll start with the simpler implementations (Embeddings) and finish with the more...
Motivation: We have additional ctx field, so we need this change as an extension point.
Hi, My configuration is: spring-ai-starter-mcp-server-webmvc:1.1.0 spring.ai.mcp.server.protocol = STATELESS spring.ai.mcp.server.type= SYNC McpTool was not scanned in case of AOP. Example: @Service public class CaseMcpTool { @Tool(description = "{Get balance of case...
Please do a quick search on GitHub issues first, there might be already a duplicate issue for the one you are about to create. If the bug is trivial, just...
There are critical timing and resolution issues in the Spring AI MCP client auto-configuration that prevent MCP-annotated beans from being properly registered and cause tool callbacks to be resolved prematurely....
Thank you for taking time to contribute this pull request! You might have already read the [contributor guide][1], but as a reminder, please make sure to: * Add a Signed-off-by...