Describe the Bug
In langgraph typescript integration , https://github.com/ag-ui-protocol/ag-ui/blob/main/integrations/langgraph/typescript/src/agent.ts#L807
const payload: Record<string, unknown> = {
...restProps,
command: effectiveCommand,
streamMode,
input: payloadInput,
config: configForPayload,
...(hasContext ? { context: mergedContext } : {}),
};
when resuming interrupts langgraph ag-ui adapter should not send input and resume command to langgraph server at the same time
Semantically, input ("start a new run with this state") and command ("resume the paused run with this value") are contradictory instructions. Aegra rejects the pair with HTTP 422.
Steps to Reproduce
- useInterrupt in react with copilotkit,
- typescript copilotkit-runtime with LanggraphAgent
- Aegra langgraph server
- when resuming user get this Aegra error : "Value error, Cannot specify both 'input' and 'command' - they are mutually exclusive"}]
Describe the Bug
In langgraph typescript integration , https://github.com/ag-ui-protocol/ag-ui/blob/main/integrations/langgraph/typescript/src/agent.ts#L807
when resuming interrupts langgraph ag-ui adapter should not send input and resume command to langgraph server at the same time
Semantically, input ("start a new run with this state") and command ("resume the paused run with this value") are contradictory instructions. Aegra rejects the pair with HTTP 422.
Steps to Reproduce