Commit Graph

228 Commits

Author SHA1 Message Date
github-actions[bot]
bb71ab69bf chore: release 2.11.2 2026-10-17 19:30:44 +00:00
extio-de
9d1cc52cab Merge branch 'main' of github.com:extio-de/lm-lib 2026-10-17 21:29:01 +02:00
extio-de
d0dd256744 fix: pin Maven 3.9.16 in publish workflow
Maven 3.10 leaves _remote.repositories and maven-metadata files in
the staging dir, which central-publishing-maven-plugin bundles into
the deployment. Central then rejects the release with 'Bundle has
content that does NOT have a .pom file: de/extio/lm-lib'. Pin the
setup-java Maven version until upstream handles 3.10.
2026-10-17 21:27:58 +02:00
github-actions[bot]
8d2a0cf5b0 chore: release 2.11.1 2026-10-17 19:14:21 +00:00
extio-de
152c5845e6 feat: add Anthropic tokenizer backed by count_tokens API
Adds the anthropic tokenizer that delegates token counting to the
Anthropic endpoint POST /v1/messages/count_tokens. Since the endpoint
only supports counting, tokenize and detokenize operate on a plain
codepoint list instead of real model tokens.

The local anthropic test profile now uses the new tokenizer.
2026-10-17 21:03:20 +02:00
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
extio-de
46e3e57f4b Rewrite FallbackTokenizer to approximate cl100k_base token counts 2026-10-17 12:03:46 +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
Stephan Birkl
ec185a716c feat: log REST client configuration and proxy auth details at startup 2026-08-03 16:13:27 +02: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
extio-de
e0390b3f2f Merge pull request #3 from lauraprietotrimble/feature/new-proxy-auth-property
Add new property to switch the proxy auth configuration
2026-07-23 18:08:52 +02: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
extio-de
a9da1910a7 Merge pull request #2 from lauraprietotrimble/patch-1
AgentContext constructor fix
2026-07-20 11:37:16 +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
github-actions[bot]
7adc5d8d30 chore: release 2.10.4 2026-07-12 10:44:33 +00: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
github-actions[bot]
b617def2f8 chore: release 2.10.3 2026-06-27 11:56:12 +00: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
github-actions[bot]
967cd43f87 chore: release 2.10.2 2026-06-12 10:17:41 +00: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
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
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
github-actions[bot]
a808ad5867 chore: release 2.9.1 2026-05-11 14:49:02 +00: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
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