Skip to content

Commit fe5c4c1

Browse files
committed
fix
1 parent 1a16fb6 commit fe5c4c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ export const callAssistantGraph: AgentExecutor<true | false> = async ({
282282
};
283283

284284
// make a fire and forget async call to generateChatTitle
285-
(async () => {
285+
void (async () => {
286286
const model = await createLlmInstance();
287287
await generateChatTitle({
288288
actionsClient,

x-pack/solutions/security/plugins/elastic_assistant/server/lib/langchain/graphs/default_assistant_graph/nodes/generate_chat_title.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const GENERATE_CHAT_TITLE_PROMPT = ({
3434
export interface GenerateChatTitleParams extends NodeParamsBase {
3535
state: Pick<
3636
GraphInputs,
37-
'connectorId' | 'conversationId' | 'llmType' | 'responseLanguage' | 'input'
37+
'connectorId' | 'conversationId' | 'llmType' | 'responseLanguage' | 'input' | 'isStream'
3838
>;
3939
model: BaseChatModel;
4040
conversationsDataClient?: AIAssistantConversationsDataClient;

0 commit comments

Comments
 (0)