Avoid accidentally taking the api_key
when requesting an assist
This commit is contained in:
parent
f00f16fe37
commit
bef6932da7
2 changed files with 15 additions and 14 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue