( ctx context.Context, systemPrompt string, messages []map[string]any, tools []map[string]any, options *LLMRequestOptions, )
| 39 | seconds := int(e.Timeout.Round(time.Second) / time.Second) |
| 40 | if seconds <= 0 { |
| 41 | return "API stream idle timeout waiting for SSE data" |
| 42 | } |
| 43 | return fmt.Sprintf("API stream idle timeout after %ds waiting for SSE data", seconds) |
| 44 | } |
no outgoing calls