Crate zed_llm_client

Source

Structs§

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

Enums§

LanguageModelProvider
Plan
UsageLimit

Constants§

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.
SUBSCRIPTION_LIMIT_RESOURCE_HEADER_NAME
The name of the header used to indicate the resource for which the subscription limit has been reached.