(
input: {
includeUserText?: boolean
} = {},
)
| 103 | } |
| 104 | |
| 105 | export function createSessionData( |
| 106 | input: { |
| 107 | includeUserText?: boolean |
| 108 | } = {}, |
| 109 | ): SessionData { |
| 110 | return { |
| 111 | includeUserText: input.includeUserText ?? false, |
| 112 | announced: false, |
| 113 | ids: new Set(), |
| 114 | tools: new Set(), |
| 115 | call: new Map(), |
| 116 | shell: new Map(), |
| 117 | permissions: [], |
| 118 | questions: [], |
| 119 | role: new Map(), |
| 120 | msg: new Map(), |
| 121 | part: new Map(), |
| 122 | text: new Map(), |
| 123 | sent: new Map(), |
| 124 | visible: new Map(), |
| 125 | end: new Set(), |
| 126 | echo: new Map(), |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | function modelKey(provider: string, model: string): string { |
| 131 | return `${provider}/${model}` |
no outgoing calls
no test coverage detected