Skip to content

Commit

Permalink
Merge pull request #222 from danbev/executor-trait-doc-comment
Browse files Browse the repository at this point in the history
fix: rename executor_options to options in comment
  • Loading branch information
williamhogman authored Oct 19, 2023
2 parents afef670 + 29b3af3 commit 8dd78b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/llm-chain/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub trait Executor: Sized {

/// Create a new executor with the given options. If you don't need to set any options, you can use the `new` method instead.
/// # Parameters
/// * `executor_options`: The options to set.
/// * `options`: The options to set.
fn new_with_options(options: Options) -> Result<Self, ExecutorCreationError>;

fn new() -> Result<Self, ExecutorCreationError> {
Expand All @@ -71,8 +71,8 @@ pub trait Executor: Sized {
///
/// # Parameters
///
/// * `step`: The step to calculate token usage for.
/// * `parameters`: The parameters to plug into the step.
/// * `options`: The per-invocation options that affect the token allowance.
/// * `prompt`: The prompt passed into step
///
/// # Returns
///
Expand Down

0 comments on commit 8dd78b6

Please sign in to comment.