RunChatStep executes a single step in the chat conversation with the AI backend. Returns the stop reason, native messages from the response, rate limit info, and any error. The cont parameter allows continuing from a previous response (e.g., after rate limiting).
( ctx context.Context, sseHandler *sse.SSEHandlerCh, chatOpts uctypes.WaveChatOpts, cont *uctypes.WaveContinueResponse, )
| 22 | // Returns the stop reason, native messages from the response, rate limit info, and any error. |
| 23 | // The cont parameter allows continuing from a previous response (e.g., after rate limiting). |
| 24 | RunChatStep( |
| 25 | ctx context.Context, |
| 26 | sseHandler *sse.SSEHandlerCh, |
| 27 | chatOpts uctypes.WaveChatOpts, |
no outgoing calls
no test coverage detected