feat(governance): serve the organisation's instructions to every agent (#2023)
The organisation's standing instructions are stored per organisation and join the system prompt of chat turns and workflow agent steps. The Org configuration group is served: schedules, alert webhook, playbooks, models, connections and credential bindings open the page that already owns the concept.
This commit is contained in:
25 files changed
+280
-989
No files matched your search
@@ -1412,6 +1412,16 @@ components:
|
||||
- created_at
|
||||
- updated_at
|
||||
type: object
|
||||
GovernanceInstructionsBody:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
text:
|
||||
description: Standing instructions given to every agent in the organisation
|
||||
maxLength: 8192
|
||||
type: string
|
||||
required:
|
||||
- text
|
||||
type: object
|
||||
GovernanceLinkStart:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -6338,6 +6348,49 @@ paths:
|
||||
summary: List agent models by alias
|
||||
tags:
|
||||
- Governance
|
||||
/api/settings/instructions:
|
||||
get:
|
||||
operationId: get-instructions
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceInstructionsBody"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Get the organisation's standing instructions
|
||||
tags:
|
||||
- Governance
|
||||
put:
|
||||
operationId: put-instructions
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceInstructionsBody"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GovernanceInstructionsBody"
|
||||
description: OK
|
||||
default:
|
||||
content:
|
||||
application/problem+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/ErrorModel"
|
||||
description: Error
|
||||
summary: Change the organisation's standing instructions
|
||||
tags:
|
||||
- Governance
|
||||
/api/sources:
|
||||
get:
|
||||
operationId: list-sources
|
||||
|
||||
Reference in new issue
Block a user