fix: rulemetadata types
This commit is contained in:
parent
c858aee559
commit
d7cc4985a1
2 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@ import { Editor, JSONContent } from "@tiptap/react";
|
|||
import {
|
||||
ContextItemWithId,
|
||||
InputModifiers,
|
||||
RuleWithSource,
|
||||
RuleMetadata,
|
||||
SlashCommandSource,
|
||||
} from "core";
|
||||
import { memo, useMemo } from "react";
|
||||
|
|
@ -26,7 +26,7 @@ interface ContinueInputBoxProps {
|
|||
) => void;
|
||||
editorState?: JSONContent;
|
||||
contextItems?: ContextItemWithId[];
|
||||
appliedRules?: RuleWithSource[];
|
||||
appliedRules?: RuleMetadata[];
|
||||
hidden?: boolean;
|
||||
inputId: string; // used to keep track of things per input in redux
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,15 +17,15 @@ import {
|
|||
FileSymbolMap,
|
||||
MessageModes,
|
||||
PromptLog,
|
||||
RuleWithSource,
|
||||
RuleMetadata,
|
||||
Session,
|
||||
ThinkingChatMessage,
|
||||
Tool,
|
||||
ToolCallDelta,
|
||||
ToolCallState,
|
||||
} from "core";
|
||||
import { mergeReasoningDetails } from "core/llm/openaiTypeConverters";
|
||||
import type { RemoteSessionMetadata } from "core/control-plane/client";
|
||||
import { mergeReasoningDetails } from "core/llm/openaiTypeConverters";
|
||||
import { NEW_SESSION_TITLE } from "core/util/constants";
|
||||
import {
|
||||
renderChatMessage,
|
||||
|
|
@ -501,7 +501,7 @@ export const sessionSlice = createSlice({
|
|||
payload,
|
||||
}: PayloadAction<{
|
||||
index: number;
|
||||
appliedRules: RuleWithSource[];
|
||||
appliedRules: RuleMetadata[];
|
||||
}>,
|
||||
) => {
|
||||
if (state.history[payload.index]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue