Merge branch 'main' into pe/edit-into-chat

This commit is contained in:
Test 2024-12-02 13:43:53 -06:00
commit 3f2f72f4ae

View file

@ -2,7 +2,7 @@ import { ToolCallState } from "core";
import { RootState } from "../store";
export function findCurrentToolCall(
state: RootState["session"]["messages"],
state: RootState["session"]["history"],
): ToolCallState | undefined {
return state[state.length - 1]?.toolCallState;
}