Avoid accidentally taking the api_key when requesting an assist

This commit is contained in:
Antonio Scandurra 2023-06-05 11:25:21 +02:00
parent f00f16fe37
commit bef6932da7
2 changed files with 15 additions and 14 deletions

View file

@ -2,11 +2,9 @@ pub mod assistant;
mod assistant_settings;
pub use assistant::AssistantPanel;
use gpui::{actions, AppContext};
use gpui::AppContext;
use serde::{Deserialize, Serialize};
actions!(ai, [Assist]);
// Data types for chat completion requests
#[derive(Serialize)]
struct OpenAIRequest {