ramu11 commented on PR #28354: URL: https://github.com/apache/camel/pull/28354#issuecomment-6394211624
Commit: c1d83ea5ca0d — CAMEL-24767 Harden tool-search embedding batches - Batch embedding support: Added backward-compatible embedAll() support and batched tool-index embeddings in chunks of up to 32. - OpenAI embedding reliability: Uses the native batch API and validates response counts, vector indices, duplicates, missing indices, and empty vectors. Results are mapped to the correct input order. - Spring AI optimization: Uses native batch embedding for tool-index construction. - Session persistence fix: Preserves discovered tools across manual OpenAI tool-execution loops when conversationMemory=false on the execution endpoint. - Regression tests: Added coverage for bounded batches, embedding response ordering and invalid indices, and manual-loop session reuse. - Cleanup: Simplified the OpenAI Responses API Tool import. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
