Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(internal): add some missing newlines between methods #48

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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