Merge branch 'main' into pe/edit-into-chat
This commit is contained in:
commit
3f2f72f4ae
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue