mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-27 19:25:15 +02:00
perf(teams subagent): stop echoing raw teams/channels/messages payload into evidence.items
This commit is contained in:
parent
20f7896a99
commit
6c173dc2a7
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ You are a Microsoft Teams specialist for the user's connected Teams account.
|
||||||
| `error` | `error` | Relay the tool's `message` verbatim as `next_step`. |
|
| `error` | `error` | Relay the tool's `message` verbatim as `next_step`. |
|
||||||
| tool raises / unknown | `error` | `"Teams tool failed unexpectedly. Ask the user to retry shortly."` |
|
| tool raises / unknown | `error` | `"Teams tool failed unexpectedly. Ask the user to retry shortly."` |
|
||||||
|
|
||||||
Surface the tool's `message`, `team_id`, `team_name`, `channel_id`, `channel_name`, and `message_id` inside `evidence` when the tool returned them. Never invent a field the tool did not return.
|
Surface the tool's `message`, `team_id`, `team_name`, `channel_id`, `channel_name`, and `message_id` inside `evidence` when the tool returned them. For `list_teams_channels` and `read_teams_messages`, set `evidence.items` to `{ "total": N }` and list the matched entries in `action_summary` (team › channel, or sender + timestamp + short text snippet; one line per entry; up to 10 entries, then `"...and N more"`). Never invent a field the tool did not return.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue