-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow AI interactions to be proxied through Zed's server so you don't need an API key #7367
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Resurrected this from some assistant work I did in Spring of 2023. Co-Authored-By: Antonio <antonio@zed.dev>
Co-Authored-By: Thorsten <thorsten@zed.dev>
Co-Authored-By: Thorsten <thorsten@zed.dev>
Co-Authored-By: Thorsten <thorsten@zed.dev> Co-Authored-By: Nathan <nathan@zed.dev>
…ates Co-Authored-By: Thorsten <thorsten@zed.dev> Co-Authored-By: Nathan <nathan@zed.dev>
… panel Co-Authored-By: Nathan <nathan@zed.dev>
Currently getting a connection aborted error in my basic_stream example. Had the idea of using a event-oriented JSON parser `struson` to parse an incomplete array of objects that they send. The types defined in google_ai.rs should cover what they send back to us.
Co-Authored-By: Thorsten <thorsten@zed.dev>
# Conflicts: # crates/collab/src/lib.rs
Co-Authored-By: Thorsten <thorsten@zed.dev> Co-Authored-By: Nathan <nathan@zed.dev>
Co-Authored-By: Thorsten Ball <thorsten@zed.dev>
# Conflicts: # Cargo.lock # crates/ai/src/prompts/base.rs # crates/assistant/src/assistant_panel.rs # crates/search/src/project_search.rs # crates/semantic_index/src/semantic_index.rs # crates/semantic_index/src/semantic_index_tests.rs # crates/util/src/http.rs
Co-Authored-By: Nathan <nathan@zed.dev>
# Conflicts: # crates/gpui/src/elements/div.rs
1 task
1 task
1 task
pjlast
pushed a commit
to pjlast/zed
that referenced
this pull request
Mar 26, 2024
… need an API key (zed-industries#7367) Co-authored-by: Antonio <antonio@zed.dev> Resurrected this from some assistant work I did in Spring of 2023. - [x] Resurrect streaming responses - [x] Use streaming responses to enable AI via Zed's servers by default (but preserve API key option for now) - [x] Simplify protobuf - [x] Proxy to OpenAI on zed.dev - [x] Proxy to Gemini on zed.dev - [x] Improve UX for switching between openAI and google models - We current disallow cycling when setting a custom model, but we need a better solution to keep OpenAI models available while testing the google ones - [x] Show remaining tokens correctly for Google models - [x] Remove semantic index - [x] Delete `ai` crate - [x] Cloud front so we can ban abuse - [x] Rate-limiting - [x] Fix panic when using inline assistant - [x] Double check the upgraded `AssistantSettings` are backwards-compatible - [x] Add hosted LLM interaction behind a `language-models` feature flag. Release Notes: - We are temporarily removing the semantic index in order to redesign it from scratch. --------- Co-authored-by: Antonio <antonio@zed.dev> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Thorsten <thorsten@zed.dev> Co-authored-by: Max <max@zed.dev>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Co-authored-by: Antonio antonio@zed.dev
Resurrected this from some assistant work I did in Spring of 2023.
ai
crateAssistantSettings
are backwards-compatiblelanguage-models
feature flag.Release Notes: