Skip to content

Commit

Permalink
fix: make sure trace is created before return trace url
Browse files Browse the repository at this point in the history
  • Loading branch information
Mini256 committed Jun 6, 2024
1 parent f546761 commit 522aad9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/services/llamaindex/chating.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ export class LlamaindexChatService extends AppChatService {
},
});

await this.langfuse?.flushAsync();

yield {
status: AppChatStreamState.CREATING,
sources: [],
Expand Down

0 comments on commit 522aad9

Please sign in to comment.