-
|
Let's say your key has expired, when should the user see the error? Looking at the https://agentclientprotocol.com/protocol/v1/prompt-turn#stop-reasons you don't have a generic error that the server can send. For example in opencode (terminal), trying to talk to the model will give you something like
But through their ACP implementation, you will only receive a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Setting the For example, I've seen agents respond to a prompt request with something like: |
Beta Was this translation helpful? Give feedback.

Setting the
resultfield in a response indicates that the request was successful. I think the usual answer would be to respond to the request with an error instead.For example, I've seen agents respond to a prompt request with something like: