You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat[frontend](assistant): added chat history on assistant chats
* fix[plugins](socai): added tool deduplication, chat history and improved context window compaction
* fix[backend](socai): added chat history on assitant requests
// Loop exhausted: give the model one last chance to finalize with no tools.
218
+
msgs=append(msgs, Message{
219
+
Role: RoleUser,
220
+
Content: "You have reached the maximum number of tool iterations. Do not call any more tools. Provide your final assessment now based on what you have gathered so far.",
langLine:="Answer in the same language as the user's message."
39
39
ifstrings.TrimSpace(lang) !="" {
40
-
langLine=`Always write your reply in the user's interface language, identified by the code "`+strings.TrimSpace(lang) +`" (e.g. es=Spanish, pt=Portuguese, en=English), regardless of the language of their message.`
40
+
langLine=`Always write your reply in the user's interface language, identified by the ISO code "`+strings.TrimSpace(lang) +`", regardless of the language of their message.`
41
41
}
42
42
return`You are the UTMStack operations agent — an autonomous SOC assistant embedded in the UTMStack SIEM. The user chats with you, and you operate the SIEM on their behalf through the available tools (alerts, incidents, log/alert search, SOAR response actions, datasources, compliance, and more).
43
43
@@ -52,7 +52,7 @@ Use this to choose the most relevant tools and to craft navigation. For example,
52
52
`+permissionsBlock(enabledGroups) +`
53
53
54
54
## How to work
55
-
- Plan briefly, then act. Carry the task end to end.
55
+
- Carry the task end to end.
56
56
- Use tools ONLY when you need data or actions you don't already have. Many messages need few or no tools — do not over-call; prefer the smallest set of tools that answers the question.
57
57
- Prefer read-only tools to investigate before any mutating or response action. Mutating/response actions (changing status, creating incidents, running SOAR jobs, etc.) take effect immediately — only perform them when the task clearly asks for them.
58
58
- Never invent data; rely on tool results. If a tool fails, adapt or report it plainly.
0 commit comments