Skip to content

feat: Store multiple providers/models in btw.md#153

Merged
gadenbuie merged 9 commits intomainfrom
feat/choose-model
Jan 10, 2026
Merged

feat: Store multiple providers/models in btw.md#153
gadenbuie merged 9 commits intomainfrom
feat/choose-model

Conversation

@gadenbuie
Copy link
Copy Markdown
Collaborator

@gadenbuie gadenbuie commented Jan 6, 2026

Multiple Providers and Models

This PR updates btw.md to allow users to configure multiple client options in their btw.md file. When
btw_client() is called interactively from the console, you'll be presented with a menu to choose which client to use. In non-interactive contexts, the first client is used automatically.

Array format (unnamed list)

client:
  - anthropic/claude-sonnet-4
  - openai/gpt-4.1
  - aws_bedrock/us.anthropic.claude-sonnet-4-20250514-v1:0
image

Alias format (named list)

client:
  haiku: aws_bedrock/us.anthropic.claude-haiku-4-5-20251001-v1:0
  sonnet:
    provider: aws_bedrock
    model: us.anthropic.claude-sonnet-4-5-20250929-v1:0
  chatgpt: openai/gpt-5.2
image

With aliases, you can select a client by name in the interactive menu or pass the alias directly: btw_client(client = "sonnet").

@gadenbuie gadenbuie deleted the branch main January 10, 2026 14:39
@gadenbuie gadenbuie closed this Jan 10, 2026
@gadenbuie gadenbuie reopened this Jan 10, 2026
@gadenbuie gadenbuie changed the base branch from feat/subagents to main January 10, 2026 14:42
@gadenbuie gadenbuie changed the title feat: Store multiple providers/models in btw.md feat: Store multiple providers/models in btw.md Jan 10, 2026
@gadenbuie gadenbuie marked this pull request as ready for review January 10, 2026 14:50
@gadenbuie gadenbuie merged commit 9ee118a into main Jan 10, 2026
10 checks passed
@gadenbuie gadenbuie deleted the feat/choose-model branch January 10, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant