Skip to content

Commit

Permalink
docs: Fix typos in Backend trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Dec 21, 2023
1 parent 4e9fe2b commit 8114dc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/domain/models/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ pub trait Backend {
async fn list_models<'a>(&'a self) -> Result<Vec<String>>;

/// Requests completions from the backend. Completion results may be
/// streamed back to the UI by passing each should through a channel.
/// streamed back to the UI by passing each response through a channel.
///
/// Upon receiving all results, a final `done` boolean
/// is provided as the last message to the channel.
///
/// In order for a backend to maintain history, a context array must be
/// In order for a backend to maintain history, a context array may be
/// provided by the backend. This can be passed alongside the `done`
/// boolean, and will be provided on the next prompt to the backend.
async fn get_completion<'a>(
Expand Down

0 comments on commit 8114dc0

Please sign in to comment.