Crate zed_llm_client

Source

Structs§

AcceptEditPredictionBody
CompletionBody
CountTokensBody
CountTokensResponse
CurrentUsage
GetSubscriptionResponse
LanguageModel
LanguageModelId
LanguageModelProviderIter
An iterator over the variants of LanguageModelProvider
LegacyWebSearchCitation
LegacyWebSearchResponse
ListModelsResponse
PredictEditsBody
PredictEditsResponse
UsageData
WebSearchBody
WebSearchResponse
WebSearchResult

Enums§

CompletionEvent
CompletionIntent
CompletionMode
CompletionRequestStatus
LanguageModelProvider
Plan
UsageLimit

Constants§

CLIENT_SUPPORTS_EXA_WEB_SEARCH_PROVIDER_HEADER_NAME
The name of the header used by the client to indicate to the server that it supports receiving web search results from Exa AI.
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.
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.
ZED_VERSION_HEADER_NAME
The name of the header used to indicate which version of Zed the client is running.