Documentation
¶
Index ¶
- func StreamAnthropicCachedResponse(c *fiber.Ctx, cachedResp *models.AnthropicMessage, requestID string) error
- func StreamGeminiCachedResponse(c *fiber.Ctx, cachedResp *models.GeminiGenerateContentResponse, ...) error
- func StreamOpenAICachedResponse(c *fiber.Ctx, cachedResp *models.ChatCompletion, requestID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamAnthropicCachedResponse ¶
func StreamAnthropicCachedResponse(c *fiber.Ctx, cachedResp *models.AnthropicMessage, requestID string) error
StreamAnthropicCachedResponse converts a cached AnthropicMessage response to Server-Sent Events (SSE) format
func StreamGeminiCachedResponse ¶
func StreamGeminiCachedResponse(c *fiber.Ctx, cachedResp *models.GeminiGenerateContentResponse, requestID string) error
StreamGeminiCachedResponse converts a cached GeminiGenerateContentResponse to Server-Sent Events (SSE) format
func StreamOpenAICachedResponse ¶
func StreamOpenAICachedResponse(c *fiber.Ctx, cachedResp *models.ChatCompletion, requestID string) error
StreamOpenAICachedResponse converts a cached ChatCompletion response to Server-Sent Events (SSE) format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.