setup-java@v4 has no maven-version input, so the previous pin was
silently ignored and the runner kept using Maven 3.10, whose stray
staging files still got bundled and rejected by Central. Add the
Maven Wrapper pinned to 3.9.16 and switch the workflow to ./mvnw.
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.
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.
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.
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.
- 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.