Commit Graph

109 Commits

Author SHA1 Message Date
extio-de
ec39c78560 feat: Add Gemma4PromptStrategy and Qwen35PromptStrategy implementations with prompt handling logic
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 22:17:20 +02:00
extio-de
df5a5ba940 feat: Update tool call round limit to six in BaseAgent for enhanced flexibility 2026-04-20 20:36:22 +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
1ce646edb2 Generalize and streamline model name retrieval in clients 2026-04-03 15:40:51 +02:00
extio-de
438197403c feat: Implement reasoning streaming and chunk handling in Csv and Json agent response handlers 2026-03-31 22:36:15 +02:00
extio-de
00a223bd64 fix: Enhance debug logging in CsvAgentResponseHandler to include stored values 2026-03-26 00:03:28 +01:00
extio-de
f753a7bdd7 chore: Bump version to 2.5.2 in pom.xml and remove redundant response validation in ChatCompletionClient 2026-03-23 22:50:36 +01:00
extio-de
229287e134 chore: Bump version to 2.5.1 in pom.xml and add debug logging for tool calls in BaseAgent 2026-03-23 22:25:04 +01: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
8869ed8d62 BaseAgent only adds the completion to the conversation if a request was made by the current agent; 2026-03-21 18:01:51 +01:00
extio-de
531fd88588 chore: Update version to 2.4.1 in pom.xml and refactor conversation handling in BaseAgent 2026-03-21 15:41:47 +01:00
extio-de
117eeabc9c fix: Ensure thread-safe access to conversation list in getConversation method 2026-03-14 21:16:56 +01:00
extio-de
a26b076b5a feat: Add alwaysSkipCache flag to AgentContext and update BaseAgent to utilize it 2026-03-14 15:27:01 +01:00
extio-de
0da1b3c78b feat: Enhance error handling with AgentErrorType and Exception tracking 2026-03-14 14:41:26 +01:00
extio-de
b47380ec89 fix: Set skipCache flag on response handling errors in BaseAgent 2026-03-14 14:31:53 +01:00
extio-de
1e5adefd13 feat: Implement skipCache functionality across conversation handling 2026-03-14 14:27:39 +01:00
extio-de
ab968f121c fix: Improve error prompt formatting in CsvAgentResponseHandler 2026-03-01 15:53:54 +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
f71f689de8 feat: Add TokenizerAutoConfiguration to Spring Boot auto-configuration imports 2025-12-22 15:35:18 +01:00
extio-de
117af5c4cb feat: Implement Qwen3PromptStrategy for prompt handling 2025-12-19 18:10:21 +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
9109e8ffd0 feat: Update CSV parsing to handle escaped line endings in CsvAgentResponseHandler and CsvUnmarshallingAgentResponseHandler 2025-12-17 22:46:26 +01:00
extio-de
3ae2f7414b feat: Refactor CSV parsing in CsvAgentResponseHandler and CsvUnmarshallingAgentResponseHandler to use TextUtils for normalization 2025-12-17 22:37:35 +01:00
extio-de
d2f5c46847 Convert spaces to tabs 2025-12-13 15:26:38 +01:00
extio-de
e0cd2a56c8 feat: Implement stripQuotes method to clean CSV values in CsvAgentResponseHandler and CsvUnmarshallingAgentResponseHandler 2025-12-09 21:56:16 +01:00
extio-de
353870dd79 Add CsvAgentResponseHandler 2025-12-09 21:18:39 +01:00
extio-de
e7c8dc3e2a feat: Enhance JsonAgentResponseHandler with JSON sanitization and add comprehensive unit tests 2025-12-09 21:03:40 +01:00
extio-de
dff1b46228 feat: Add debug logging for parsed CSV objects in CsvAgentResponseHandler 2025-12-08 22:52:06 +01:00
extio-de
55c8e43fb3 feat: Update responseHandler method to accept AgentContext 2025-12-08 22:31:42 +01:00
extio-de
28a1fde3ef feat: Add CsvAgentResponseHandler and corresponding tests for CSV parsing functionality 2025-12-08 21:57:30 +01:00
extio-de
0bc9468827 feat: Refactor grading logic to utilize ModelProfile and ClientService in Grader2 and related tests 2025-12-02 21:41:07 +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
a6087a0613 bump version to 1.8.8 in pom.xml and update CompletionInterceptor interface to include conversation parameter in after method 2025-11-30 15:14:34 +01:00
extio-de
01dbd5c4db bump version to 1.8.7 in pom.xml and add rewindTurn method to Conversation class 2025-11-23 21:52:23 +01:00
extio-de
dcc653fe2a bump version to 1.8.5 in pom.xml and add request duration tracking in BaseAgent 2025-11-23 16:14:33 +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
ae322743d6 bump version to 1.8.3 in pom.xml and add getValues method to AgentContext for improved value retrieval 2025-10-31 16:33:42 +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
d0b1eeae75 fix: Update cache key generation to use shortName for ModelCategory 2025-10-29 12:50:33 +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
5853e53c60 feat: Add Levenshtein distance and similarity methods with corresponding tests 2025-10-27 14:28:15 +01:00
extio-de
1ba9227311 fix: Update setStringValue method to handle null values by removing the key from context 2025-10-13 21:20:18 +02: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
514dad1c7f feat: Introduce reasoning capabilities in chat and text completion
- Added AbstractCompletionRequest and AbstractCompletionResponse classes to standardize request and response structures.
- Implemented StreamOptions for streaming responses in chat completions.
- Enhanced ChatCompletionClient and TextCompletionClient to support reasoning content in responses.
- Updated ModelProfile to include reasoning effort and summary details.
- Created GptOssPromptStrategy to handle specific prompt formatting and reasoning extraction.
- Modified existing tests to validate reasoning content in completions.
- Updated configuration properties for reasoning settings in local properties files.
2025-10-01 19:05:15 +02:00
extio-de
34c96f0147 chore: Bump version to 1.6.24 in pom.xml and update logging for conversation in BaseAgent 2025-09-30 15:50:55 +02:00
extio-de
1650bac4b8 fix: Update version to 1.6.23 in pom.xml and add null check for conversation in BaseAgent 2025-09-29 18:11:34 +02:00