mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-02-19 02:54:28 -05:00
- Resolves #10234 ### Preview #### Manual setup triggers   #### Auto-setup triggers  ### Changes 🏗️ - Add "Trigger status" section to `AgentRunDraftView` - Add `AgentPreset.webhook`, so we can show webhook URL in library - Add `AGENT_PRESET_INCLUDE` to `backend.data.includes` - Add `BaseGraph.trigger_setup_info` (computed field) - Rename `LibraryAgentTriggerInfo` to `GraphTriggerInfo`; move to `backend.data.graph` Refactor: - Move contents of `@/components/agents/` to `@/app/(platform)/library/agents/[id]/components/OldAgentLibraryView/components/` - Fix small type difference between legacy & generated `LibraryAgent.image_url` ### Checklist 📋 #### For code changes: - [x] I have clearly listed my changes in the PR description - [x] I have made a test plan - [x] I have tested my changes according to the test plan: - [x] Setting up GitHub trigger works - [x] Setting up manual trigger works - [x] Enabling/disabling manual trigger through Library works
30 lines
621 B
Plaintext
30 lines
621 B
Plaintext
{
|
|
"credentials_input_schema": {
|
|
"properties": {},
|
|
"title": "TestGraphCredentialsInputSchema",
|
|
"type": "object"
|
|
},
|
|
"description": "A test graph",
|
|
"forked_from_id": null,
|
|
"forked_from_version": null,
|
|
"has_external_trigger": false,
|
|
"id": "graph-123",
|
|
"input_schema": {
|
|
"properties": {},
|
|
"required": [],
|
|
"type": "object"
|
|
},
|
|
"is_active": true,
|
|
"links": [],
|
|
"name": "Test Graph",
|
|
"nodes": [],
|
|
"output_schema": {
|
|
"properties": {},
|
|
"required": [],
|
|
"type": "object"
|
|
},
|
|
"sub_graphs": [],
|
|
"trigger_setup_info": null,
|
|
"user_id": "test-user-id",
|
|
"version": 1
|
|
} |