scout-ai 1.1.3 → 1.1.4
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 +4 -4
- data/VERSION +1 -1
- data/lib/scout/llm/chat/annotation.rb +7 -7
- data/scout-ai.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 905c48ebe655952c5700441462046e1bd3ebc2563bae7c25895030e0de12fa9f
|
|
4
|
+
data.tar.gz: 4f75a75a92e8f51670a34d78d476238ae1af336f2707cbc9b11bb9982a4a3342
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c86e0183193640f09e72aeda0747edb19d6b940527831246f24f05f80f1407af74b4f7341e30b9baa6af76a7ee83aea0e0084d8e484a52763ee0b76d457a4c8c
|
|
7
|
+
data.tar.gz: e3d60454b72ea5754c583fb3e5d9de684376465fa160bdfd3ddb3cbac2350507fd1b3187fe0ff552dfc06e28e509e030c976f3ec54b8b22bb0e15b158f95323c
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.4
|
|
@@ -84,17 +84,17 @@ module Chat
|
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
|
|
87
|
-
def ask(
|
|
88
|
-
LLM.ask(LLM.chat(self),
|
|
87
|
+
def ask(options = {})
|
|
88
|
+
LLM.ask(LLM.chat(self), options)
|
|
89
89
|
end
|
|
90
90
|
|
|
91
|
-
def chat(
|
|
92
|
-
response = ask(
|
|
91
|
+
def chat(options = {})
|
|
92
|
+
response = ask(options.merge(return_messages: true))
|
|
93
93
|
if Array === response
|
|
94
|
-
|
|
95
|
-
final
|
|
94
|
+
self.concat(response)
|
|
95
|
+
final
|
|
96
96
|
else
|
|
97
|
-
|
|
97
|
+
self.push({role: :assistant, content: response})
|
|
98
98
|
response
|
|
99
99
|
end
|
|
100
100
|
end
|
data/scout-ai.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: scout-ai 1.1.
|
|
5
|
+
# stub: scout-ai 1.1.4 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "scout-ai".freeze
|
|
9
|
-
s.version = "1.1.
|
|
9
|
+
s.version = "1.1.4".freeze
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|