Outcome of a single embed-test call. See `check_embedding`. On success ``error is None`` and ``dim`` holds the embedding dimension. On failure ``error`` holds a one-line summary and ``traceback`` the full formatted traceback (for surfacing daemon-side stack traces in `ccc doctor`).
| 46 | |
| 47 | |
| 48 | class EmbeddingCheckResult(NamedTuple): |
| 49 | """Outcome of a single embed-test call. See `check_embedding`. |
| 50 | |
| 51 | On success ``error is None`` and ``dim`` holds the embedding dimension. On |
| 52 | failure ``error`` holds a one-line summary and ``traceback`` the full |
| 53 | formatted traceback (for surfacing daemon-side stack traces in `ccc doctor`). |
| 54 | """ |
| 55 | |
| 56 | dim: int | None |
| 57 | error: str | None |
| 58 | traceback: str | None = None |
| 59 | |
| 60 | |
| 61 | async def check_embedding( |