lara-sdk 1.11.0 → 1.11.2

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: d794b96f2ef4b205bf0b46706b9346af3659ee923870116341e87a3688220ee7
4
- data.tar.gz: e460f4a73a7a25c94c2d57a99a8d6998c06625b9e27723594b9789b86d601061
3
+ metadata.gz: d543909328f360f51e665bc07091371505423dcd8774573e591df6951661e35e
4
+ data.tar.gz: 98a10930ee0f98a8d316ea4fcc47b3c179b71ddc41336dc5538a484d6374dda1
5
5
  SHA512:
6
- metadata.gz: 722e1746da8b4735ee5b072b8168cef5996a1aeb7cc059b3ca651da46a0144808c93c7cde7583d300ea0adf02a1b812f24803072e399e35642560b82b10b272f
7
- data.tar.gz: c3dec84e4e56eec0bbfa2f46ec05a688bbecf2ee76f17bd80c6f78273f33458595b33c42baa39d2cb2d76057c04c9ac16f8c03937847ab1e994aacd976bfdf94
6
+ metadata.gz: c65593a7fa5ba94323fa379bd1073b344770ac19a96120ae95689faf6b1a160a9cf01dd10d9f4b3a0e65d515462d5ecf3700957dcb2ead0ea0204190c3cb1790
7
+ data.tar.gz: 6cad2d7f55cdd79f593acea7e1ccf6682b73efd27db77785410ea7841670ccedd7b6ad58d0ef91af41af78b4efae38db23b0a6e765546cab229ff06e1e971006
@@ -47,7 +47,7 @@ module Lara
47
47
  # @param glossaries [Array<String>,nil]
48
48
  # @param instructions [Array<String>,nil]
49
49
  # @param content_type [String,nil]
50
- # @param multiline [Boolean]
50
+ # @param multiline [Boolean,nil] Deprecated.
51
51
  # @param timeout_ms [Integer,nil]
52
52
  # @param priority [String,nil]
53
53
  # @param use_cache [String,Boolean,nil]
@@ -56,6 +56,7 @@ module Lara
56
56
  # @param verbose [Boolean]
57
57
  # @param style [String,nil]
58
58
  # @param reasoning [Boolean] When true with a block, yields partial results during reasoning
59
+ # @param reasoning_effort [String,nil] "low", "medium", or "high"; requires reasoning: true. Omit for the server default.
59
60
  # @param image_context [Hash,Array<Hash>,nil] One HTTPS or base64 PNG/JPEG/WebP image; requires reasoning when non-empty.
60
61
  # Image validation is performed by the API. An empty array preserves text-only translation.
61
62
  # @param headers [Hash,nil]
@@ -65,9 +66,9 @@ module Lara
65
66
  # @yield [Lara::Models::TextResult] Partial translation result (only when reasoning is true)
66
67
  # @return [Lara::Models::TextResult] Final translation result
67
68
  def translate(text, target:, source: nil, source_hint: nil, adapt_to: nil, glossaries: nil,
68
- instructions: nil, content_type: nil, multiline: true, timeout_ms: nil,
69
+ instructions: nil, content_type: nil, multiline: nil, timeout_ms: nil,
69
70
  priority: nil, use_cache: nil, cache_ttl_s: nil, no_trace: false, verbose: false,
70
- style: nil, reasoning: false, image_context: nil, headers: nil, metadata: nil,
71
+ style: nil, reasoning: false, reasoning_effort: nil, image_context: nil, headers: nil, metadata: nil,
71
72
  profanities_detect: nil, profanities_handling: nil,
72
73
  styleguide_id: nil, styleguide_reasoning: nil,
73
74
  styleguide_explanation_language: nil, &callback)
@@ -96,6 +97,7 @@ module Lara
96
97
  verbose: verbose,
97
98
  style: style,
98
99
  reasoning: reasoning,
100
+ effort: reasoning_effort,
99
101
  image_context: image_context,
100
102
  metadata: metadata,
101
103
  profanities_detect: profanities_detect,
data/lib/lara/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lara
4
- VERSION = "1.11.0"
4
+ VERSION = "1.11.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lara-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Translated
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-10-26 00:00:00.000000000 Z
11
+ date: 2026-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday