omniai-mistral 1.6.0 → 1.6.1

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: 253b0ae91739077ea70a562cad40ce7c16ead3a62a7650ae7511f4680e34c96b
4
- data.tar.gz: bfed7d64757f41170581aafdc1726571bb399b2a6ffd845dff9062a2ebf21c7e
3
+ metadata.gz: 8ab0ad2db899898af639d14d319f8de978b4056cddc0b4015fd65663d50e343f
4
+ data.tar.gz: 8a3843dbb174c054b26a98a657b0dba537cd77f4dba1dca1baac8d3080b756e7
5
5
  SHA512:
6
- metadata.gz: a4dee74fcf4169cf99adeaa5239f9c6afa33f90b007b9d8c5e8368c332ab8e6a4b291e482d55429633957a81c40b2871b2e57ecdd98e99eb233fecd101d57ad6
7
- data.tar.gz: 2d3256886c38c5823cf7fcdf2d6d377c2128cc375624aa7c596dd9bb6d308d780a760917b6c6487c18b46a2dbb82636eb05bb82cd692b63146963ecd4b58956f
6
+ metadata.gz: 2051bf93aac8437af6805882eb9f9d514ba4af1826b8a09234b1b1e67747ba86ae477600e646dd4d63472d464c6b430ee574d95d664c3b11fce891e3848cb33d
7
+ data.tar.gz: ca1433a9f56e7b859f90e37649d4c1096d790cfe40a112061b26e5ae4d6d532a15395c7f1b93fd60745db95ecd68ca0aaf449b75d154bc597082788e6cd7f078
@@ -51,9 +51,12 @@ module OmniAI
51
51
  # @param stream [Proc, nil] optional
52
52
  # @param tools [Array<OmniAI::Tool>, nil] optional
53
53
  #
54
+ # @yield [prompt] optional
55
+ # @yieldparam prompt [OmniAI::Chat::Prompt]
56
+ #
54
57
  # @return [OmniAI::Chat::Completion]
55
- def chat(messages, model: Chat::Model::MEDIUM, temperature: nil, format: nil, stream: nil, tools: nil)
56
- Chat.process!(messages, model:, temperature:, format:, stream:, tools:, client: self)
58
+ def chat(messages, model: Chat::Model::MEDIUM, temperature: nil, format: nil, stream: nil, tools: nil, &)
59
+ Chat.process!(messages, model:, temperature:, format:, stream:, tools:, client: self, &)
57
60
  end
58
61
  end
59
62
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module Mistral
5
- VERSION = '1.6.0'
5
+ VERSION = '1.6.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai-mistral
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre