Skip to content

Commit

Permalink
feat: update
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 23, 2023
1 parent 362addd commit c3c1aad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions server/parsers/basic_input_output_parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { IInput, IOutput } from '../../common/types/chat_saved_object_attributes';
import { Interaction } from '../types';
import { IInput, IOutput, Interaction } from '../../common/types/chat_saved_object_attributes';

export const BasicInputOutputParser = {
order: 0,
Expand All @@ -20,7 +19,7 @@ export const BasicInputOutputParser = {
type: 'output',
contentType: 'markdown',
content: interaction.response,
traceId: interaction.parent_interaction_id,
traceId: interaction.interaction_id,
},
];
return [inputItem, ...outputItems];
Expand Down

0 comments on commit c3c1aad

Please sign in to comment.