You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For OpenAI or Voyage models, set environment variables:
262
-
- `OPENAI_API_KEY` for OpenAI models
263
-
- `VOYAGE_API_KEY`for Voyage models
264
-
265
-
### Migration
266
-
267
-
When changing to a model with different dimensions, existing embeddings must be regenerated:
268
-
269
-
```bash
270
-
# Set new model
271
-
cas models set text-embedding-3-small
272
-
273
-
# Migrate (regenerates all embeddings)
274
-
cas models migrate --confirm
275
-
```
276
-
277
201
## Code Search with ast-grep
278
202
279
203
Use `ast-grep` for syntax-aware structural matching instead of text-only tools like `rg` or `grep`. This is especially useful for finding code patterns, refactoring, and understanding structure.
CAS is configured via `.cas/config.yaml` in your project root. Run `cas config list` to see all options or `cas config describe <key>` for details on any setting.
0 commit comments