mirror of
https://github.com/stablyai/orca.git
synced 2026-11-05 19:47:27 +00:00
9 lines
338 B
TypeScript
9 lines
338 B
TypeScript
/** The id the runtime publishes a chat's session tab row under, in rows and group tab orders. */
|
|
export function structuredAgentSessionHostTabId(sessionId: string): string {
|
|
return `agent-session:${sessionId}`
|
|
}
|
|
|
|
export function isStructuredAgentSessionHostTabId(tabId: string): boolean {
|
|
return tabId.startsWith('agent-session:')
|
|
}
|