Skip to content

Commit

Permalink
chore(internal): add some missing newlines between methods (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jan 9, 2025
1 parent 94a426b commit 67e7461
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ private constructor(

/** The model will automatically decide whether to use tools. */
fun betaToolChoiceAuto(): Optional<BetaToolChoiceAuto> = Optional.ofNullable(betaToolChoiceAuto)

/** The model will use any available tools. */
fun betaToolChoiceAny(): Optional<BetaToolChoiceAny> = Optional.ofNullable(betaToolChoiceAny)

/** The model will use the specified tool with `tool_choice.name`. */
fun betaToolChoiceTool(): Optional<BetaToolChoiceTool> = Optional.ofNullable(betaToolChoiceTool)

Expand All @@ -50,8 +52,10 @@ private constructor(
/** The model will automatically decide whether to use tools. */
fun asBetaToolChoiceAuto(): BetaToolChoiceAuto =
betaToolChoiceAuto.getOrThrow("betaToolChoiceAuto")

/** The model will use any available tools. */
fun asBetaToolChoiceAny(): BetaToolChoiceAny = betaToolChoiceAny.getOrThrow("betaToolChoiceAny")

/** The model will use the specified tool with `tool_choice.name`. */
fun asBetaToolChoiceTool(): BetaToolChoiceTool =
betaToolChoiceTool.getOrThrow("betaToolChoiceTool")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ private constructor(

/** The model will automatically decide whether to use tools. */
fun toolChoiceAuto(): Optional<ToolChoiceAuto> = Optional.ofNullable(toolChoiceAuto)

/** The model will use any available tools. */
fun toolChoiceAny(): Optional<ToolChoiceAny> = Optional.ofNullable(toolChoiceAny)

/** The model will use the specified tool with `tool_choice.name`. */
fun toolChoiceTool(): Optional<ToolChoiceTool> = Optional.ofNullable(toolChoiceTool)

Expand All @@ -49,8 +51,10 @@ private constructor(

/** The model will automatically decide whether to use tools. */
fun asToolChoiceAuto(): ToolChoiceAuto = toolChoiceAuto.getOrThrow("toolChoiceAuto")

/** The model will use any available tools. */
fun asToolChoiceAny(): ToolChoiceAny = toolChoiceAny.getOrThrow("toolChoiceAny")

/** The model will use the specified tool with `tool_choice.name`. */
fun asToolChoiceTool(): ToolChoiceTool = toolChoiceTool.getOrThrow("toolChoiceTool")

Expand Down

0 comments on commit 67e7461

Please sign in to comment.