(context: StreamingContext, options: CopilotLifecycleOptions)
| 57 | } |
| 58 | |
| 59 | function resultContent(context: StreamingContext, options: CopilotLifecycleOptions): string { |
| 60 | if (options.interactive === false && context.sawMainToolCall) { |
| 61 | return context.finalAssistantContent |
| 62 | } |
| 63 | return context.accumulatedContent |
| 64 | } |
| 65 | |
| 66 | export interface CopilotLifecycleOptions extends OrchestratorOptions { |
| 67 | userId: string |
no outgoing calls
no test coverage detected