Open
Description
Hello Team,
In client Environment client VSCode has getting below error for below default Agent Code.
Issue 1:
return GraphOutput(report=output.content)
Error:

RCA: Client VSCode has PyLance that is forcing to convert argument as String. GraphOutput is looking for String hence we have replaced with below code
return GraphOutput(report=str(output.content))

Issue 2
builder = StateGraph(GraphState, output=GraphOutput)
Error:

Fixed :

As requested by @cristipufu Opening this issue.
Regards
Keyul Shah
Metadata
Metadata
Assignees
Labels
No labels