foobara-agent-backed-command 0.0.7 → 0.0.8
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/CHANGELOG.md +4 -0
- data/src/agent_backed_command.rb +4 -3
- 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: 68e97a54dce3803c000113406c5e14e66e410a96c4256a64bbac482897490461
|
4
|
+
data.tar.gz: cb249a40e7292d991553d32b728c96f3018855d9be58b9eb44269b6f5ea6a72f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78bfff33febf0d1fff1e74b0b5dc6ec194dd966250969ee676002a63bae099ca4f58310f8a05bee0551ee68c7a390607603b7a6f8e7b49e45d527c19a49c17f6
|
7
|
+
data.tar.gz: f128760ef5b31aaf58ffa21b7c457d4c8b39d6026c5662820b193202633db6555cdaabe448bcea00035830539148adb51f074fcfeac8ab314bb262e99a355690
|
data/CHANGELOG.md
CHANGED
data/src/agent_backed_command.rb
CHANGED
@@ -204,9 +204,10 @@ module Foobara
|
|
204
204
|
goal = Util.underscore(goal)
|
205
205
|
goal = Util.humanize(goal)
|
206
206
|
|
207
|
+
goal = "You are an agent backed command named #{self.class.scoped_short_name}. Your goal is: #{goal}."
|
208
|
+
|
207
209
|
if self.class.description
|
208
|
-
goal += "
|
209
|
-
goal += self.class.description
|
210
|
+
goal += " The command description is: #{self.class.description}."
|
210
211
|
end
|
211
212
|
|
212
213
|
inputs_type = self.class.inputs_type
|
@@ -228,7 +229,7 @@ module Foobara
|
|
228
229
|
inputs_type,
|
229
230
|
association_depth:
|
230
231
|
)
|
231
|
-
goal += "\n\
|
232
|
+
goal += "\n\nThe inputs to this command have the following type:\n\n#{json_inputs_type}\n\n"
|
232
233
|
|
233
234
|
serializer = if pass_aggregates_to_llm?
|
234
235
|
CommandConnectors::Serializers::AggregateSerializer
|