問題文
A tool that calls an internal pricing service returns HTTP 503. How should the application report this back into the conversation?
選択肢
- As a tool_result marked as an error, with a short message stating that the pricing service was unavailable, so the model knows the call did not succeed.
- By raising the HTTP error to the caller of the application, ending the conversation.
- As a tool_result containing a placeholder price so the conversation can continue without interruption.
- By omitting the tool_result entirely and sending a new user message asking the model to try something else.