mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 11:03:07 +00:00
feat(ai): add PI_AI_ANTIGRAVITY_VERSION env var override
Allows users to override the Antigravity User-Agent version when Google updates their version requirements, avoiding the need to wait for a package release. Fixes #1129
This commit is contained in:
parent
71d7a14b18
commit
e9ca0be769
5 changed files with 29 additions and 10 deletions
|
|
@ -911,6 +911,14 @@ const response = await complete(model, context, {
|
|||
});
|
||||
```
|
||||
|
||||
#### Antigravity Version Override
|
||||
|
||||
Set `PI_AI_ANTIGRAVITY_VERSION` to override the Antigravity User-Agent version when Google updates their requirements:
|
||||
|
||||
```bash
|
||||
export PI_AI_ANTIGRAVITY_VERSION="1.23.0"
|
||||
```
|
||||
|
||||
#### Cache Retention
|
||||
|
||||
Set `PI_CACHE_RETENTION=long` to extend prompt cache retention:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue