Documentation
¶
Index ¶
Constants ¶
View Source
const ( EndpointChat = "/v1/projects/${PROJECT_ID}/locations/${LOCATION}/endpoints/openapi/chat/completions" EnvProjectID = "PROJECT_ID" EnvLocation = "LOCATION" )
Variables ¶
This section is empty.
Functions ¶
func FromErrorResponse ¶
func FromErrorResponse(statusCode int) func(response []ErrorResponse) []ollamaapi.StatusError
Types ¶
type ErrorResponse ¶
Click to show internal directories.
Click to hide internal directories.