Skip to content

Commit

Permalink
feat: use parent_interaction_id as traceId
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Nov 22, 2023
1 parent c073bf7 commit 0b22d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/parsers/basic_input_output_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const BasicInputOutputParser = {
type: 'output',
contentType: 'markdown',
content: interaction.response,
traceId: interaction.interaction_id,
traceId: interaction.parent_interaction_id,
},
];
return [inputItem, ...outputItems];
Expand Down

0 comments on commit 0b22d8c

Please sign in to comment.