Commit Graph

151 Commits

Author SHA1 Message Date
Stephan Birkl
ec185a716c feat: log REST client configuration and proxy auth details at startup 2026-08-03 16:13:27 +02:00
extio-de
e6af810c61 feat: add maxToolCallRounds configuration and update default value 2026-08-02 15:42:07 +02:00
Laura Prieto
a3390a167e Add new property to switch the proxy auth configuration 2026-07-23 17:27:48 +02:00
lauraprietotrimble
a5815e962f AgentContext constructor fix 2026-07-20 11:36:39 +02:00
extio-de
4a85d9e65f fix: logging for prompt length warnings in ChatCompletionClient 2026-07-12 17:08:56 +02:00
extio-de
25cdd9c3be refactor: update base URL handling in ChatCompletionClient and TextCompletionClient for improved flexibility 2026-07-05 14:01:54 +02:00
extio-de
e811c9b2fe refactor: enhance error handling in tokenization and detokenization processes with clearer messages 2026-07-05 13:48:42 +02:00
extio-de
e18880354e refactor: update CSV response handling to return true for empty or null responses 2026-06-28 15:18:46 +02:00
extio-de
7e2e067384 refactor: update error message in JsonAgentResponseHandlerTest for clarity 2026-06-18 17:21:21 +02:00
extio-de
cadc1b3a1c refactor: update error prompt handling in CSV and JSON response handlers for improved clarity and consistency 2026-06-18 17:18:32 +02:00
extio-de
7969cba37b implemented the missing type: "message" field for user and developer input items in ResponsesApiClient.java, ensuring compliance with the Open Responses specification 2026-06-05 00:44:06 +02:00
extio-de
4453b7c2d1 feat: enhance LLM call control with AgentSkipCompletion enum and update related methods 2026-06-02 22:17:51 +02:00
extio-de
e1a70f5397 feat: add retryOnParsingError method to BaseAgent for enhanced error handling 2026-06-01 22:28:30 +02:00
extio-de
a209fc6ca2 refactor: streamline model name retrieval in completion clients and update cache handling in OpenRouterModelDiscovery 2026-05-15 16:39:22 +02:00
extio-de
3cac418191 feat: introduce MAX_TOOL_CALL_ROUNDS constant and add includeEncryptedReasoningContent method to OpenAiResponsesApiDialect 2026-05-15 00:00:17 +02:00
extio-de
63356ab5a7 fix: add @Qualifier annotation to ChatCompletionClient for proper dependency injection 2026-05-14 20:29:29 +02: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
extio-de
e3dda708f2 Merge github.com:extio-de/lm-lib 2026-05-11 19:37:43 +02:00
Stephan Birkl
c6faa07ddd fix: update JSON property names in ChatMessage class for clarity and consistency 2026-05-11 16:40:24 +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
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
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
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
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
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
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
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
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
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