move OpenAICompletionProvider to providers location

This commit is contained in:
KCaverly 2023-10-22 13:57:13 +02:00
parent 3712794e56
commit 05ae978cb7
6 changed files with 222 additions and 213 deletions

View file

@ -1,5 +1,6 @@
use crate::streaming_diff::{Hunk, StreamingDiff};
use ai::completion::{CompletionProvider, OpenAIRequest};
use ai::completion::CompletionProvider;
use ai::providers::open_ai::OpenAIRequest;
use anyhow::Result;
use editor::{multi_buffer, Anchor, MultiBuffer, MultiBufferSnapshot, ToOffset, ToPoint};
use futures::{channel::mpsc, SinkExt, Stream, StreamExt};