mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add configurable retention for aibridge (#20828)
Closes https://github.com/coder/internal/issues/1134 --------- Signed-off-by: Danny Kopping <danny@coder.com>
This commit is contained in:
Generated
+2
-1
@@ -179,7 +179,8 @@ curl -X GET http://coder-server:8080/api/v2/deployment/config \
|
||||
"openai": {
|
||||
"base_url": "string",
|
||||
"key": "string"
|
||||
}
|
||||
},
|
||||
"retention": 0
|
||||
}
|
||||
},
|
||||
"allow_workspace_renames": true,
|
||||
|
||||
Generated
+9
-4
@@ -393,7 +393,8 @@
|
||||
"openai": {
|
||||
"base_url": "string",
|
||||
"key": "string"
|
||||
}
|
||||
},
|
||||
"retention": 0
|
||||
}
|
||||
```
|
||||
|
||||
@@ -406,6 +407,7 @@
|
||||
| `enabled` | boolean | false | | |
|
||||
| `inject_coder_mcp_tools` | boolean | false | | |
|
||||
| `openai` | [codersdk.AIBridgeOpenAIConfig](#codersdkaibridgeopenaiconfig) | false | | |
|
||||
| `retention` | integer | false | | |
|
||||
|
||||
## codersdk.AIBridgeInterception
|
||||
|
||||
@@ -701,7 +703,8 @@
|
||||
"openai": {
|
||||
"base_url": "string",
|
||||
"key": "string"
|
||||
}
|
||||
},
|
||||
"retention": 0
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -2858,7 +2861,8 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
|
||||
"openai": {
|
||||
"base_url": "string",
|
||||
"key": "string"
|
||||
}
|
||||
},
|
||||
"retention": 0
|
||||
}
|
||||
},
|
||||
"allow_workspace_renames": true,
|
||||
@@ -3373,7 +3377,8 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
|
||||
"openai": {
|
||||
"base_url": "string",
|
||||
"key": "string"
|
||||
}
|
||||
},
|
||||
"retention": 0
|
||||
}
|
||||
},
|
||||
"allow_workspace_renames": true,
|
||||
|
||||
Reference in New Issue
Block a user