Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

chore: update permissions code (#10116)

Shubham Naik6851461678e6
diff --git a/fern/openapi.json b/fern/openapi.json
index 3350ffe52..badd187d8 100644
--- a/fern/openapi.json
+++ b/fern/openapi.json
@@ -27090,86 +27090,6 @@
}
}
},
- "/v1/environments/{connectionId}/mode": {
- "post": {
- "description": "Change the permission mode of a specific environment connection",
- "summary": "Change Environment Mode",
- "tags": ["environments"],
- "parameters": [
- {
- "name": "connectionId",
- "in": "path",
- "required": true,
- "schema": {
- "type": "string"
- }
- }
- ],
- "operationId": "environments.sendModeChange",
- "requestBody": {
- "description": "Body",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "mode": {
- "type": "string",
- "enum": [
- "default",
- "acceptEdits",
- "plan",
- "bypassPermissions"
- ]
- }
- },
- "required": ["mode"]
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "200",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "success": {
- "type": "boolean"
- },
- "message": {
- "type": "string"
- }
- },
- "required": ["success", "message"]
- }
- }
- }
- },
- "404": {
- "description": "404",
- "content": {
- "application/json": {
- "schema": {
- "type": "object",
- "properties": {
- "errorCode": {
- "type": "string"
- },
- "message": {
- "type": "string"
- }
- },
- "required": ["errorCode", "message"]
- }
- }
- }
- }
- }
- }
- },
"/v1/environments/{id}": {
"delete": {
"description": "Removes environment from list of environments",