diff --git a/core/tsconfig.json b/core/tsconfig.json index 273476b9d..69966e2de 100644 --- a/core/tsconfig.json +++ b/core/tsconfig.json @@ -18,11 +18,6 @@ "noEmitOnError": false, "types": ["jest", "node"] }, - "include": [ - "./**/*.ts", - "./**/*.js", - "./**/*.d.ts", - "../gui/src/redux/util/constructMessages.ts" - ], + "include": ["./**/*.ts", "./**/*.js", "./**/*.d.ts"], "exclude": ["dist"] } diff --git a/gui/src/components/mainInput/belowMainInput/ContextItemsPeek.tsx b/gui/src/components/mainInput/belowMainInput/ContextItemsPeek.tsx index 31c392bf1..a77e2fc98 100644 --- a/gui/src/components/mainInput/belowMainInput/ContextItemsPeek.tsx +++ b/gui/src/components/mainInput/belowMainInput/ContextItemsPeek.tsx @@ -121,7 +121,7 @@ export function ContextItemsPeekItem({ data-testid="context-items-peek-item" > {getContextItemIcon()} - + {contextItem.name}
-
+
{!!toolCallState.output && ( )} diff --git a/gui/src/redux/slices/sessionSlice.ts b/gui/src/redux/slices/sessionSlice.ts index 20ea7ca86..ee8e153a2 100644 --- a/gui/src/redux/slices/sessionSlice.ts +++ b/gui/src/redux/slices/sessionSlice.ts @@ -34,9 +34,8 @@ import { findCurrentToolCall, findToolCall, findToolOutput } from "../util"; // We need this to handle reorderings (e.g. a mid-array deletion) of the messages array. // The proper fix is adding a UUID to all chat messages, but this is the temp workaround. -export type ChatMessageWithId = ChatMessage & { id: string }; export type ChatHistoryItemWithMessageId = ChatHistoryItem & { - message: ChatMessageWithId; + message: ChatMessage & { id: string }; }; type SessionState = { diff --git a/gui/src/redux/thunks/streamResponseAfterToolCall.ts b/gui/src/redux/thunks/streamResponseAfterToolCall.ts index 8caf6625a..010304557 100644 --- a/gui/src/redux/thunks/streamResponseAfterToolCall.ts +++ b/gui/src/redux/thunks/streamResponseAfterToolCall.ts @@ -30,7 +30,7 @@ export const streamResponseAfterToolCall = createAsyncThunk< await new Promise((resolve) => setTimeout(resolve, 0)); - // TODO paralell tool calls - dispatch one tool message per tool call + // TODO parallel tool calls - dispatch one tool message per tool call const newMessage: ChatMessage = { role: "tool", content: renderContextItems(toolOutput),