Commit Graph

187 Commits

Author SHA1 Message Date
extio-de
52abd3fb16 Merge github.com:extio-de/lm-lib 2026-05-10 19:32:31 +02:00
extio-de
5b06de15b4 fix: Improve error handling in OllamaClient by logging errors and throwing exceptions 2026-05-10 19:25:26 +02:00
github-actions[bot]
99246f1704 chore: release 2.9.0 2026-05-10 16:50:09 +00:00
extio-de
f97d758afd feat: Enhance error handling by introducing ErrorResponse class and updating logErrorResponse method 2026-05-10 18:46:30 +02:00
extio-de
47c278309b feat: Add null checks and default values in Completion constructor 2026-05-10 16:49:14 +02:00
extio-de
58d1250734 feat: Change class visibility to public for OpenRouter model response classes 2026-05-10 16:49:06 +02: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
2028d9bea5 fix: add null check for finish reason in completion handling in BaseAgent 2026-05-10 10:14:45 +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
640b075fe6 feat: add ERROR finish reason and handle it in completion clients 2026-05-10 09:39:26 +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
extio-de
210de3c62f feat: add error logging for server responses in completion clients
Co-authored-by: Copilot <copilot@github.com>
2026-05-08 19:38:48 +02:00
extio-de
7cc3374288 Merge branch 'main' of github.com:extio-de/lm-lib 2026-05-08 19:33:12 +02:00
extio-de
0651a66374 feat: update release workflow to allow manual version input and improve version handling 2026-05-08 19:33:00 +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
extio-de
c7ed5f25c7 Merge pull request #1 from extio-de/azure-openai
Support Azure OpenAI Api
2026-05-07 18:33:30 +02: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
cc19bcc87b Update publish steps
Modified publishing steps.
2026-05-06 18:14:04 +02:00
extio-de
aa6657b1ae Added release configuration
Update version and spring-boot.version in pom.xml. Added release configuration.
2026-05-06 17:54:30 +02:00
extio-de
c23b3ee202 feat: Bump version to 2.5.12 in pom.xml and add metadata setting in BaseAgent 2026-05-02 15:20:42 +02:00
extio-de
713a226e4c feat: Bump version to 2.5.11 in pom.xml 2026-05-02 14:03:44 +02:00
extio-de
1af185e77a feat: Refactor conversation handling in BaseAgent and add metadata support in Conversation class 2026-05-02 14:03:39 +02:00
extio-de
4fd4c7ab94 feat: Bump version to 2.5.10 in pom.xml and add @Lazy annotation to allAgents in AgentExecutorService 2026-04-29 22:40:02 +02:00
extio-de
eaaf9837b3 chore: Bump version to 2.5.9 in pom.xml 2026-04-27 22:17:48 +02:00
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
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
df5a5ba940 feat: Update tool call round limit to six in BaseAgent for enhanced flexibility 2026-04-20 20:36:22 +02:00
extio-de
93351e8be9 feat: Add sequential tool calling test and refactor tool call recording in AgentTest 2026-04-17 20:05:55 +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
a0d248d605 chore: Bump version to 2.5.6 in pom.xml 2026-04-03 18:41:17 +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
dda1efd1e3 chore: Bump version to 2.5.5 in pom.xml 2026-04-03 15:41:14 +02:00
extio-de
1ce646edb2 Generalize and streamline model name retrieval in clients 2026-04-03 15:40:51 +02:00
extio-de
31cf959d10 chore: Bump version to 2.5.4 and update spring-boot.version to 4.0.5 in pom.xml 2026-04-03 13:38:59 +02:00
extio-de
17596639f2 chore: Bump version to 2.5.3 in pom.xml 2026-03-31 22:38:31 +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
9a6934049c chore: Update version to 2.5.0 in pom.xml and modify test to use isNull matcher 2026-03-22 18:13:25 +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
636353334b chore: Add Apache License 2.0 and update README for clarity and structure 2026-03-22 15:30:34 +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