Skip to content

Import Pi provider configuration#295

Open
alejandro-ao wants to merge 1 commit into
mainfrom
feat/import-pi-configuration
Open

Import Pi provider configuration#295
alejandro-ao wants to merge 1 commit into
mainfrom
feat/import-pi-configuration

Conversation

@alejandro-ao

Copy link
Copy Markdown
Collaborator

Summary

Adds a best-effort Pi configuration importer so users can migrate provider/model setup into Tau without starting from scratch.

Closes #293.

What changed

  • Added tau config import-pi <path> for JSON/TOML Pi config files.
  • Added --dry-run, --yes, and --default-pi-config import flags.
  • Added conservative provider/model mapping with warnings for raw secrets and unmapped fields.
  • Protected existing ~/.tau/providers.json unless --yes is provided.
  • Added unit/CLI coverage for happy path, invalid/missing config, dry run, and overwrite protection.
  • Added migration docs and architecture notes.

Tests

uv run ruff format .
uv run ruff check .
uv run mypy
uv run pytest

All passed locally.

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.

Import existing Pi configuration into Tau

1 participant