ask-agent 0.12.0 → 0.12.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 +4 -4
- data/lib/ask/agent/session.rb +1 -2
- data/lib/ask/agent/version.rb +1 -1
- 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: 1c3eb4f6e24d5acd650f8e11614dcd3257b9f57b252ba6df2c8c48ca3dffdd1e
|
|
4
|
+
data.tar.gz: efc969c3abc319814c4afecc9103750a37962cbd664d1944d84ec3d2d89adb71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c9a78d1dd7e990eb11bd56997f9da131e0bb11f88affca0b4e01d9504711aa17787e98bde447bcd397045dcb97e4930cd04437638b3bebc83d166e8f10c34d37
|
|
7
|
+
data.tar.gz: 4d17c16b767ff92973d32acff24232c5a5d86739ead407f1e92f92707a8d685559e146c4c5430861e397f6bd5cf5c9d2fcdbf503015e6adeae3821f1567041ca
|
data/lib/ask/agent/session.rb
CHANGED
|
@@ -79,8 +79,7 @@ module Ask
|
|
|
79
79
|
|
|
80
80
|
emit(Events::SessionStart.new)
|
|
81
81
|
|
|
82
|
-
active_tools =
|
|
83
|
-
active_tools = @tools if active_tools.empty?
|
|
82
|
+
active_tools = @tools
|
|
84
83
|
|
|
85
84
|
if active_tools.empty? && !@_no_tools_instructed
|
|
86
85
|
@chat.add_message(role: :system, content: "You have no tools available. Do not claim you can look up information or use tools of any kind. Just respond based on your existing knowledge.")
|
data/lib/ask/agent/version.rb
CHANGED