We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
my actor interface defines below:
from abc import abstractmethod from dapr.actor import ActorInterface, actormethod from common_models.agent import ReportGuideAgentResult class ReportGuideAgentActorInterface(ActorInterface): @abstractmethod @actormethod(name="Answer") async def answer(self, user_input: str) -> ReportGuideAgentResult: ...
But got a ERR_ACTOR_INVOKE_METHOD error: "ReportGuideAgentResult is not JSON serializable"
I have to change return type into str, and serialize it in my Actor class, and deserialize it in my Client class.
VERSION is 1.15
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behavior
my actor interface defines below:
Actual Behavior
But got a ERR_ACTOR_INVOKE_METHOD error: "ReportGuideAgentResult is not JSON serializable"
I have to change return type into str, and serialize it in my Actor class, and deserialize it in my Client class.
VERSION is 1.15
The text was updated successfully, but these errors were encountered: