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
{{ message }}
Repository navigation
Commit 9dbc5f9
Browse filesBrowse the repository at this point in the historyBrowse files
feat(sdk,webapp): tag chat sessions, and tag dashboard agent chats by org, project, env and user
```ts
await startChatSession({
chatId,
clientData,
tags: [`org:${org.slug}`, `user:${user.id}`], // the Session's own tags
triggerConfig: { tags: [`org:${org.slug}`] }, // tags on its runs, as before
});
```
`chat.createStartSessionAction`, `chat.headStart` and
`chat.startHeadStart` now accept `tags` for the Session itself. Until
now they only forwarded `triggerConfig.tags`, which tag the session's
runs, so chat sessions couldn't be filtered on the Sessions page.
The dashboard agent uses this to tag every chat's session and runs by
organization, project, environment and user. Run tags come from the
session's trigger config, so runs the session starts later carry them
too.
Mono-RevId: af4ac8b786f6f6b13b2f5c5aab8a6af4e2ab5113
`chat.createStartSessionAction`, `chat.headStart` and `chat.startHeadStart` now accept `tags` for the Session itself, so chat sessions can be filtered by tag on the Sessions page. `triggerConfig.tags` still tags the session's runs.
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.dashboard-agent.ts
0 commit comments