lex-llm-anthropic 0.2.8 → 0.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 23d189a1ea15ce64735d14d88766fcb6717136b9734c393599a7fbd3c7544b54
4
- data.tar.gz: 5c3153468a9753fc406e5229ee41036113b5c396eb0b5761f933c2c8a78fba91
3
+ metadata.gz: d7687ad53b9f3aa50db888d664f8ac8e1dbdd92bac3701097b1aa40312a30ff9
4
+ data.tar.gz: 1eaf4a5fdd3f40a27da9fb72983fafab2dd974f81e40ed1d0e73a0d82d4fec47
5
5
  SHA512:
6
- metadata.gz: 97685da785d9c89c5b63cb64406c3487f12b943aa28b289ef553de7ca32ab3e454ef51f8cff9ad0af4762fadd760453899e64f902a79579d652c2ee045ce0b8f
7
- data.tar.gz: 796d40a66a89b96ac401beb3b74237a09c7bfb2fa26819e589c937adfc771cc40051338899dc19c80204006a351fd0a7886af1524f74d7b507bbb1d8e0e6836a
6
+ metadata.gz: 8f44ddddc7211f40bd5e155d802c1b59983ebbd0fe4ed2db3f1e6e9e637dce9c4d9428a2fdf59a3190f59cba71ac9443448d2c488ceac213bda8d453d06bf1e2
7
+ data.tar.gz: 979bcf878d565712f1d24a32aaeedb24f7311c05b36a82861c547dc1f37931b97f2bd997a17f5507ba91d77b27ba7f3a9cc658d6ecc81c98f6e6573b324da527
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.9 - 2026-05-16
4
+
5
+ - Advertise Anthropic tool support in discovered instance and model metadata so capability-aware routing can select Claude models for native tool requests.
6
+
3
7
  ## 0.2.8 - 2026-05-13
4
8
 
5
9
  - Remove `:claude` provider alias (`provider_aliases` now returns `[]`).
@@ -376,6 +376,7 @@ module Legion
376
376
  id: model_id,
377
377
  name: model['display_name'] || model_id,
378
378
  provider: provider,
379
+ capabilities: %i[completion streaming tools],
379
380
  context_length: ctx,
380
381
  metadata: model.merge('created_at' => model['created_at']).compact
381
382
  )
@@ -4,7 +4,7 @@ module Legion
4
4
  module Extensions
5
5
  module Llm
6
6
  module Anthropic
7
- VERSION = '0.2.8'
7
+ VERSION = '0.2.9'
8
8
  end
9
9
  end
10
10
  end
@@ -117,7 +117,7 @@ module Legion
117
117
 
118
118
  CredentialSources.dedup_credentials(candidates).transform_values do |config|
119
119
  sanitized = sanitize_instance_config(config)
120
- sanitized[:capabilities] ||= %i[completion streaming vision].freeze
120
+ sanitized[:capabilities] ||= %i[completion streaming vision tools].freeze
121
121
  sanitized[:default_model] ||= 'claude-sonnet-4-6'
122
122
  sanitized
123
123
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lex-llm-anthropic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.2.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - LegionIO