ZIm/crates/copilot/src
Liam 83562fca77
copilot: Indicate whether a request is initiated by an agent to Copilot API (#33895)
Per [GitHub's documentation for VSCode's agent
mode](https://docs.github.com/en/copilot/how-tos/chat/asking-github-copilot-questions-in-your-ide#agent-mode),
a premium request is charged per user-submitted prompt. rather than per
individual request the agent makes to an LLM. This PR matches Zed's
functionality to VSCode's, accurately indicating to GitHub's API whether
a given request is initiated by the user or by an agent, allowing a user
to be metered only for prompts they send.

See also: #31068

Release Notes:

- Improve Copilot premium request tracking
2025-07-07 10:24:17 +02:00
..
copilot.rs gpui: Store action documentation (#33809) 2025-07-02 21:14:33 -04:00
copilot_chat.rs copilot: Indicate whether a request is initiated by an agent to Copilot API (#33895) 2025-07-07 10:24:17 +02:00
copilot_completion_provider.rs Remove into SelectionEffects from .change_selections (#33554) 2025-06-27 14:31:31 -06:00
request.rs lsp: Revert URL type change (#13193) 2024-06-18 12:39:56 +02:00
sign_in.rs Make copilot::SignIn open sign-in modal when needed (#30239) 2025-05-08 14:52:07 +00:00