Commit Graph

75 Commits

Author SHA1 Message Date
extio-de
cd99dfa360 feat: add Anthropic model discovery and capability probing
Uses GET /v1/models to list models and read advertised capabilities.
supportsToolCalling and extended-thinking requests honor the listed
capabilities (including tool_use/tool_calling on compatible servers).
Model listing is cached per profile; unreachable endpoints or missing
capabilities skip the checks rather than failing requests.
2026-10-17 20:39:04 +02:00
extio-de
bb7ae456a8 feat: add Anthropic Claude Messages API client
Adds AnthropicClient with tool use, SSE streaming, and extended
thinking behind an optional AnthropicDialect bean, plus ANTHROPIC
model provider, request-shaping unit tests, and integration tests
against an Anthropic-compatible server.
2026-10-17 20:15:44 +02:00
github-actions[bot]
24b0efb0af chore: release 2.11.0 2026-08-23 13:24:54 +00:00
extio-de
a71d506679 Simplify agent conversation handling and update AgentType enum 2026-08-23 15:22:44 +02:00
github-actions[bot]
328432921e chore: release 2.10.8 2026-08-03 14:20:00 +00:00
github-actions[bot]
d354a5d681 chore: release 2.10.7 2026-08-02 13:44:13 +00:00
extio-de
e6af810c61 feat: add maxToolCallRounds configuration and update default value 2026-08-02 15:42:07 +02:00
github-actions[bot]
b0043dc9b6 chore: release 2.10.6 2026-07-23 16:10:07 +00:00
Laura Prieto
a3390a167e Add new property to switch the proxy auth configuration 2026-07-23 17:27:48 +02:00
github-actions[bot]
c11097cd8b chore: release 2.10.5 2026-07-20 09:38:43 +00:00
github-actions[bot]
7adc5d8d30 chore: release 2.10.4 2026-07-12 10:44:33 +00:00
github-actions[bot]
b617def2f8 chore: release 2.10.3 2026-06-27 11:56:12 +00:00
github-actions[bot]
967cd43f87 chore: release 2.10.2 2026-06-12 10:17:41 +00:00
extio-de
4453b7c2d1 feat: enhance LLM call control with AgentSkipCompletion enum and update related methods 2026-06-02 22:17:51 +02:00
github-actions[bot]
14f43624db chore: release 2.10.1 2026-06-01 20:31:36 +00:00
extio-de
e1a70f5397 feat: add retryOnParsingError method to BaseAgent for enhanced error handling 2026-06-01 22:28:30 +02:00
github-actions[bot]
2083d4f33f chore: release 2.10.0 2026-05-16 14:53:02 +00:00
extio-de
12a90917ee feat: Add OAI_RESPONSES model provider and implement Responses API client tests
- Updated ModelProfile to include OAI_RESPONSES in the ModelProvider enum.
- Created CompletionClientTest to validate text and chat completion functionalities.
- Added ResponsesApiClientTest to test Responses API interactions, including model listing and conversation handling.
- Implemented ResponsesApiDialectTestConfiguration for managing reasoning efforts in tests.
- Updated application-test.properties to include a new profile for responses.
- Added local-responses.properties configuration for the Responses API.
2026-05-14 20:26:59 +02:00
github-actions[bot]
a808ad5867 chore: release 2.9.1 2026-05-11 14:49:02 +00:00
github-actions[bot]
99246f1704 chore: release 2.9.0 2026-05-10 16:50:09 +00:00
extio-de
b95e725aad feat: Implement OpenRouter model discovery and endpoints
- Added OpenRouterModelDiscovery class for managing model listings and metadata resolution.
- Introduced OpenRouterModelEndpointsResponse and OpenRouterModelsResponse classes for handling API responses.
- Created OpenRouterModelQuery class to encapsulate query parameters for model listing.
- Updated ModelProfile to include OPENROUTER as a model provider.
- Enhanced ModelProfileService to handle default values for maxTokens and maxContextLength.
- Added OpenRouterClientTest for testing model discovery and chat completion functionalities.
- Configured application-test.properties and local-openrouter-chatcompletion.properties for OpenRouter integration.
2026-05-10 14:11:06 +02:00
extio-de
b5a43ef7ac feat: add finish reason indicators for completion statuses in BaseAgent 2026-05-10 09:48:04 +02:00
extio-de
1561b17f9e feat: add error handling and logging for tokenization and detokenization requests in LlamaServerTokenizer 2026-05-09 21:25:30 +02:00
extio-de
8c92e6fd7a fix: update tokenizer name and enhance text completion description in README; refactor think mode handling in OllamaDialect 2026-05-09 19:17:42 +02:00
extio-de
4ff231227e feat: Support OLLAMA provider
- Added OllamaClient to handle conversations with the Ollama API.
- Introduced OllamaDialect for managing thinking modes.
- Created data classes: OllamaFunctionCall, OllamaListedModel, OllamaMessage, OllamaShowRequest, OllamaShowResponse, OllamaTagsResponse, OllamaToolCall, OllamaToolDefinition, and OllamaToolFunction for structured API communication.
- Developed unit tests for OllamaClient to validate model listing, chat completion, streaming responses, and tool calling capabilities.
- Configured test properties for local Ollama instance.
2026-05-09 17:47:28 +02:00
github-actions[bot]
b741b5f016 chore: release 2.8.0 2026-05-07 16:42:08 +00:00
github-actions[bot]
12b9d2aaba chore: release 2.7.0 2026-05-07 16:35:46 +00:00
Stephan Birkl
33f76defa5 feat: Enhance OpenAiProviderDialect for improved request handling and update related classes
- Refactored OpenAiProviderDialect to include methods for managing chat token limits and reasoning effort.
- Updated ChatCompletionClient and AbstractCompletionClient to utilize the new dialect methods for request shaping.
- Modified ChatCompletionRequest to replace reasoning properties with a single reasoningEffort field.
- Adjusted tests to reflect changes in request handling and dialect behavior.
- Updated README to clarify the new request shaping capabilities and defaults.
2026-05-07 18:22:12 +02:00
Stephan Birkl
244aa2574b feat: Introduce OpenAiProviderDialect for flexible request shaping and remove reasoning properties from ModelProfile
- Added OpenAiProviderDialect to manage request features for OpenAI-compatible providers.
- Refactored ChatCompletionClient and TextCompletionClient to utilize the new dialect for handling reasoning and usage settings.
- Removed reasoningEffort and reasoningSummaryDetails from ModelProfile and related services.
- Updated README to reflect changes in request shaping and dialect usage.
2026-05-07 17:57:59 +02:00
github-actions[bot]
6235c49358 chore: release 2.6.0 2026-05-06 20:01:46 +00:00
extio-de
ec30026e02 feat: Update release workflow for Maven Central deployment and enhance POM metadata
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 21:45:10 +02:00
extio-de
587217235b feat: Enhance documentation for ToolCallingAgentResponseHandler with detailed usage examples and tool call handling logic 2026-04-20 20:36:31 +02:00
extio-de
c3ffc52fab feat: Enhance tool call handling in BaseAgent and AgentTest for improved multi-tool support 2026-04-15 22:25:32 +02:00
extio-de
b8f47f2745 feat: Enhance tool call handling with support for multiple tools in conversation 2026-04-15 21:51:20 +02:00
extio-de
b4d1a44d93 feat: Implement tokenizer resolver and fallback tokenizer; update model profiles and README 2026-04-03 18:40:53 +02:00
extio-de
dce82a98cd feat: Enhance chat completion with tool calling capabilities
- Added support for tools in ChatCompletionRequest, including tool choice and parallel tool calls.
- Introduced ChatCompletionTool and ChatCompletionFunction classes to define tool specifications.
- Updated ChatMessage to include tool calls and tool call IDs.
- Created ChatToolCall and ChatToolFunction classes for managing tool call details.
- Modified TextCompletionClient to support tool calling.
- Updated Grader and Grader2 classes to handle new tool-related logic.
- Enhanced Agent and AgentTest classes to incorporate tool calling in agent workflows.
- Added tests for tool calling functionality in CachedClientTest and CompletionClientTest.
2026-03-22 18:09:10 +01:00
extio-de
636353334b chore: Add Apache License 2.0 and update README for clarity and structure 2026-03-22 15:30:34 +01:00
extio-de
356de943a3 Update readme 2026-03-14 15:27:14 +01:00
extio-de
d5898e35f5 feat: Add Spring Boot auto-configuration for lm-lib modules
- Introduced auto-configuration classes for profile, client, agent, and prompt modules.
- Updated README to reflect new modular architecture and configuration properties.
- Added selective enabling/disabling of modules via application properties.
- Refactored existing services and strategies to remove unnecessary Spring annotations.
- Enhanced test configurations to utilize auto-configuration.
- Updated META-INF imports to include new auto-configuration classes.
2026-01-05 21:58:12 +01:00
extio-de
b17a1fe517 fix: Correct capitalization of 'jTokkit' in README.md 2026-01-05 21:08:24 +01:00
extio-de
4ebb8640c7 Version 2.0
Java 25, Spring Boot 4, Use RestClient with JDK client backend
2025-12-19 17:58:56 +01:00
extio-de
4c0c30974e refactor: Remove Azure AI client implementation and related configuration 2025-12-19 11:45:33 +01:00
extio-de
55c8e43fb3 feat: Update responseHandler method to accept AgentContext 2025-12-08 22:31:42 +01:00
extio-de
b7c1e90dc7 feat: Update model profile and statistics tracking
- Updated model profile to support new cost parameters: costPerCachedInToken and costPerReasoningOutToken.
- Enhanced AgentRequestStatistic to track cached input tokens and reasoning output tokens.
- Modified CompletionStatistics to include cached input tokens and reasoning output tokens.
- Updated AzureAiClient, CachedClient, and other clients to handle new statistics fields.
- Introduced Timings class to capture detailed timing metrics for requests.
- Adjusted Usage class to include input and output token details.
- Updated properties files to include new cost parameters for cached and reasoning tokens.
2025-11-30 18:19:01 +01:00
extio-de
04beaf6b5f feat: Introduce Grader2 and AnswerGrader2 for improved grading functionality; deprecate legacy Grader and AnswerGrader 2025-11-22 18:40:35 +01:00
extio-de
bd37a143f6 refactor: Update ModelProfile to use costPerInToken and costPerOutToken for better clarity and accuracy 2025-10-31 16:15:37 +01:00
extio-de
179755df45 refactor: Simplify model name loading and update ModelNameSupplier to use ModelProfile 2025-10-29 13:02:14 +01:00
extio-de
304924e223 feat: Enhance agent functionality with ModelProfile integration
- Added ModelProfile to the Agent record to allow for more detailed model configurations.
- Updated AgentExecutorService to utilize ModelProfile when fetching clients.
- Modified BaseAgent interface to include a default modelProfile method.
- Adjusted Client interface and implementations to support ModelProfile in conversation and streaming methods.
- Enhanced ClientService to retrieve clients based on ModelProfile.
- Updated CompletionInterceptor to work with ModelProfile instead of ModelCategory.
- Refactored AzureAiClient and other client implementations to handle ModelProfile correctly.
- Changed CachedClient to cache responses based on ModelProfile.
- Updated ModelCategory to a record type for better validation and immutability.
- Enhanced ModelProfile with validation checks for its fields.
- Updated ModelProfileService to support fetching profiles based on ModelCategory.
- Adjusted tests to accommodate changes in Agent and ModelProfile.
- Updated properties files to include category information for model profiles.
2025-10-29 12:07:36 +01:00
extio-de
11d6d7ce28 refactor: Update README to remove optional dependency on commons-lang3 and increment version to 1.7.1; enhance AzureAiClient with proxy settings and refactor conversation methods; add AnswerGrader class for answer evaluation; improve TextUtils with new methods for string manipulation and regex matching; introduce comprehensive tests for TextUtils functionality. 2025-10-03 21:37:44 +02:00
extio-de
c2687fc29e fix: Correct escape character in README for hidden branching syntax 2025-10-01 20:22:10 +02:00