Skip to content

Refresh Claude model cache before scoped launches - #622

Open
andy-xu-db wants to merge 2 commits into
mainfrom
andy/refresh-claude-scoped-model-cache
Open

andy-xu-db wants to merge 2 commits into
mainfrom
andy/refresh-claude-scoped-model-cache

Conversation

@andy-xu-db

@andy-xu-db andy-xu-db commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • fetch the selected parent or MPS model catalog before Claude starts
  • atomically replace Claude Code's gateway model cache
  • block launch on refresh failure instead of showing stale models

Testing

  • exact P7 launch now exits on the parent-schema 404 before Claude opens
  • uv run --frozen pytest -q tests/test_agent_claude.py tests/test_cli.py tests/test_databricks.py (746 passed)
  • uv run --frozen ruff check src/ tests/
  • uv run --frozen ruff format --check src/ tests/
Screenshot 2026-09-15 at 8 46 10 AM

@andy-xu-db
andy-xu-db force-pushed the andy/refresh-claude-scoped-model-cache branch from 9f8c98b to c7d8fa4 Compare September 14, 2026 23:05
…coped-model-cache

# Conflicts:
#	src/ucode/cli.py
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