Skip to content

Commit

Permalink
reintroduce step
Browse files Browse the repository at this point in the history
  • Loading branch information
spolu committed Nov 15, 2024
1 parent 16e261d commit daed194
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion front/components/actions/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const actionsSpecification: ActionSpecifications = {
},
conversation_list_files_action: {
detailsComponent: () => null,
runningLabel: ACTION_RUNNING_LABELS.jit_list_files_action,
runningLabel: ACTION_RUNNING_LABELS.conversation_list_files_action,
},
};

Expand Down
1 change: 1 addition & 0 deletions front/lib/api/assistant/actions/conversation/list_files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class ConversationListFilesAction extends BaseAction {
readonly files: ConversationFileType[];
readonly functionCallId: string | null;
readonly functionCallName: string | null;
readonly step: number = -1;
readonly type = "conversation_list_files_action";

constructor(blob: ConversationListFilesActionBlob) {
Expand Down
1 change: 1 addition & 0 deletions sdks/js/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ const ConversationListFilesActionTypeSchema = BaseActionSchema.extend({
functionCallId: z.string().nullable(),
functionCallName: z.string().nullable(),
agentMessageId: ModelIdSchema,
step: z.number(),
type: z.literal("conversation_list_files_action"),
});
// type ConversationListFIlesActionPublicType = z.infer<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ export interface ConversationListFilesActionType extends BaseAction {
files: ConversationFileType[];
functionCallId: string | null;
functionCallName: string | null;
step: number;
type: "conversation_list_files_action";
}

0 comments on commit daed194

Please sign in to comment.