1494
private _createChat(provider: IAgent, chat: URI, options: IAgentCreateChatOptions | undefined): Promise<IAgentCreateChatResult | void> {
1495
const convOptions: IAgentCreateChatOptions | undefined = options && (options.title !== undefined || options.model !== undefined || options.sideChat !== undefined)
1497
>
...(options.title !== undefined ? { title: options.title } : {}),
1498
>
...(options.model !== undefined ? { model: options.model } : {}),
1499
>
...(options.sideChat !== undefined ? { sideChat: options.sideChat } : {}),
1500
>
}
1501
: undefined;
1502
return options?.fork