@@ -45,10 +45,9 @@
|
||||
(seq tools) (str (if page " Its" "\n\nYour")
|
||||
" tools: " (str/join ", " (map :name tools))
|
||||
". The tools of other pages are offered once you navigate there.")
|
||||
(seq state) (str "\n\nCurrent state of the page (JSON), refreshed on every message you get, so it is\n"
|
||||
"always current — more current than anything said earlier in this conversation, any\n"
|
||||
"tool result in it, or what you said before. Go by this, not an earlier result:\n"
|
||||
"never call a tool just to read it, only to act:\n" (json/write-value-as-string state))))
|
||||
(seq state) (str "\n\nCurrent state of the page (JSON), current as of this message. Go by it, not an\n"
|
||||
"earlier tool result or what you said before: never call a tool just to read it,\n"
|
||||
"only to act:\n" (json/write-value-as-string state))))
|
||||
|
||||
(defn a2a
|
||||
"The A2A server's system prompt: an outside agent calling this app directly, not through a
|
||||
|
||||
Reference in New Issue
Block a user