add concept of LanguageModel to CompletionProvider

This commit is contained in:
KCaverly 2023-10-27 08:51:30 +02:00
parent 6c8bb4b05e
commit ec9d79b6fe
5 changed files with 27 additions and 4 deletions

View file

@ -328,6 +328,7 @@ impl AssistantPanel {
let inline_assist_id = post_inc(&mut self.next_inline_assist_id);
let provider = Arc::new(OpenAICompletionProvider::new(
"gpt-4",
api_key,
cx.background().clone(),
));