Crate zed_llm_client

Source

Structs§

CompletionBody
CountTokensBody
CountTokensResponse
LanguageModelProviderIter
An iterator over the variants of LanguageModelProvider
PredictEditsBody
PredictEditsResponse
WebSearchBody
WebSearchCitation
WebSearchResponse

Enums§

CompletionEvent
CompletionMode
CompletionRequestStatus
LanguageModelProvider
Plan
UsageLimit

Constants§

CLIENT_SUPPORTS_STATUS_MESSAGES_HEADER_NAME
The name of the header used by the client to indicate to the server that it supports receiving status messages.
CURRENT_PLAN_HEADER_NAME
The name of the header used to indicate what plan the user is currently on.
EDIT_PREDICTIONS_RESOURCE_HEADER_VALUE
EDIT_PREDICTIONS_USAGE_AMOUNT_HEADER_NAME
The name of the header used to indicate the usage amount for edit predictions.
EDIT_PREDICTIONS_USAGE_LIMIT_HEADER_NAME
The name of the header used to indicate the usage limit for edit predictions.
EXPIRED_LLM_TOKEN_HEADER_NAME
The name of the header used to indicate when a request failed due to an expired LLM token.
MAX_LLM_MONTHLY_SPEND_REACHED_HEADER_NAME
MINIMUM_REQUIRED_VERSION_HEADER_NAME
The name of the header used to indicate the the minimum required Zed version.
MODEL_REQUESTS_RESOURCE_HEADER_VALUE
MODEL_REQUESTS_USAGE_AMOUNT_HEADER_NAME
The name of the header used to indicate the usage amount for model requests.
MODEL_REQUESTS_USAGE_LIMIT_HEADER_NAME
The name of the header used to indicate the usage limit for model requests.
SERVER_SUPPORTS_STATUS_MESSAGES_HEADER_NAME
The name of the header used by the server to indicate to the client that it supports sending status messages.
SUBSCRIPTION_LIMIT_RESOURCE_HEADER_NAME
The name of the header used to indicate the resource for which the subscription limit has been reached.
TOOL_USE_LIMIT_REACHED_HEADER_NAME
The name of the header used to indicate that the maximum number of consecutive tool uses has been reached.