Skip to content

fix: Include graph schemas for marketplace agents in Agent Generator - #11920

Merged
majdyz merged 14 commits into
devfrom
fix/marketplace-agent-schema-for-generator
Jan 31, 2026
Merged

fix: Include graph schemas for marketplace agents in Agent Generator#11920
majdyz merged 14 commits into
devfrom
fix/marketplace-agent-schema-for-generator

Conversation

@Otto-AGPT

Copy link
Copy Markdown
Contributor

Problem

When marketplace agents are included in the library_agents payload sent to the Agent Generator service, they were missing required fields (graph_id, graph_version, input_schema, output_schema). This caused Pydantic validation to fail with HTTP 422 Unprocessable Entity.

Root cause: The MarketplaceAgentSummary TypedDict had a different shape than LibraryAgentInfo expected by the Agent Generator:

  • Agent Generator expects: graph_id, graph_version, name, description, input_schema, output_schema
  • MarketplaceAgentSummary had: name, description, sub_heading, creator, is_marketplace_agent

Solution

  1. Add agent_graph_id to StoreAgent model - The field was already in the database view but not exposed
  2. Include agentGraphId in hybrid search SQL query - Carry the field through the search CTEs
  3. Update search_marketplace_agents_for_generation() - Now fetches full graph schemas using get_graph() and returns LibraryAgentSummary (same type as library agents)
  4. Update deduplication logic - Use graph_id instead of name for more accurate deduplication

Changes

  • backend/api/features/store/model.py: Add optional agent_graph_id field to StoreAgent
  • backend/api/features/store/hybrid_search.py: Include agentGraphId in SQL query columns
  • backend/api/features/store/db.py: Map agentGraphId when creating StoreAgent objects
  • backend/api/features/chat/tools/agent_generator/core.py: Update search_marketplace_agents_for_generation() to fetch and include full graph schemas

Testing

  • Agent creation on dev with marketplace agents in context
  • Verify no 422 errors from Agent Generator
  • Verify marketplace agents can be used as sub-agents

Fixes: SECRT-1817

When marketplace agents are included in the library_agents payload to
the Agent Generator service, they were missing required fields
(graph_id, graph_version, input_schema, output_schema), causing
Pydantic validation to fail with HTTP 422.

Changes:
- Add agent_graph_id field to StoreAgent model
- Include agentGraphId in hybrid search SQL query
- Update search_marketplace_agents_for_generation to fetch full graph
  schemas for marketplace agents
- Marketplace agents now return LibraryAgentSummary (unified type)
  with complete schemas for sub-agent composition
- Update deduplication logic to use graph_id instead of name

This fixes agent creation failures on dev where the decompose-description
endpoint was returning 422 Unprocessable Entity.

Fixes: SECRT-1817
@Otto-AGPT
Otto-AGPT requested a review from a team as a code owner January 31, 2026 13:51
@Otto-AGPT
Otto-AGPT requested review from Swiftyos and ntindle and removed request for a team January 31, 2026 13:51
@github-project-automation github-project-automation Bot moved this to 🆕 Needs initial review in AutoGPT development kanban Jan 31, 2026
@github-actions github-actions Bot added platform/backend AutoGPT Platform - Back end size/m labels Jan 31, 2026
@coderabbitai

coderabbitai Bot commented Jan 31, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

Search now returns library-style summaries with full input/output schemas by looking up store-listed graphs; StoreAgent gained an agent_graph_id field and marketplace deduplication now uses graph_id.

Changes

Cohort / File(s) Summary
Agent generator — marketplace schema enrichment
autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py
Replaces prior MarketplaceAgentSummary entries with LibraryAgentSummary enriched via get_store_listed_graphs (adds graph_id, graph_version, input_schema, output_schema); short-circuits when no graphs; deduplicates marketplace results by graph_id.
Store: model, DB, hybrid search
autogpt_platform/backend/backend/api/features/store/model.py, autogpt_platform/backend/backend/api/features/store/db.py, autogpt_platform/backend/backend/api/features/store/hybrid_search.py
Adds public agent_graph_id/agentGraphId to StoreAgent outputs and threads it through hybrid search, DB fallback, and SQL projections.
Graph data access
autogpt_platform/backend/backend/data/graph.py
Adds async def get_store_listed_graphs(*graph_ids: str) -> dict[str, GraphModel] to batch-fetch approved, non-deleted store-listed graphs and return GraphModel mappings for schema enrichment.
Tests & snapshots
autogpt_platform/backend/backend/api/features/store/model_test.py, .../routes_test.py, .../test_cache_delete.py, autogpt_platform/backend/test/agent_generator/test_library_agents.py, autogpt_platform/backend/snapshots/...
Updates fixtures, tests, and JSON snapshots to include agent_graph_id; agent-generator tests mock get_store_listed_graphs and assert graph_id/graph_version and schemas for marketplace entries.

Sequence Diagram

sequenceDiagram
    participant Client as Client/API
    participant Generator as AgentGenerator
    participant StoreSearch as MarketplaceStoreSearch
    participant GraphStore as GraphStore

    Client->>Generator: search_marketplace_agents_for_generation(query)
    Generator->>StoreSearch: search marketplace agents (returns entries with agent_graph_id)
    StoreSearch-->>Generator: marketplace entries (agent_graph_id list)
    Generator->>GraphStore: get_store_listed_graphs(graph_id_1..n)
    GraphStore-->>Generator: GraphModel(s) with graph_id, graph_version, input_schema, output_schema
    Generator->>Generator: enrich entries -> LibraryAgentSummary, dedupe by graph_id
    Generator-->>Client: list[LibraryAgentSummary]
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested labels

Review effort 3/5

Suggested reviewers

  • ntindle
  • Swiftyos

Poem

🐰 I hopped through graphs at break of day,
I fetched the schemas so agents could play,
With graph_id in paw I sorted each nest,
Deduped the fields and left the best,
Now agents bloom and bound away!

🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 60.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: adding graph schemas for marketplace agents in the Agent Generator service.
Description check ✅ Passed The description comprehensively explains the problem, root cause, solution, and testing approach, all directly related to the changeset.
Linked Issues check ✅ Passed The PR resolves SECRT-1817 by ensuring marketplace agents include required graph/schema fields (graph_id, graph_version, input_schema, output_schema) needed by Agent Generator, eliminating validation failures and decomposition errors.
Out of Scope Changes check ✅ Passed All changes are directly aligned with the PR objectives: adding agent_graph_id field, including it in SQL queries, updating marketplace agent fetching logic, and updating test fixtures/snapshots accordingly.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/marketplace-agent-schema-for-generator

📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between c6ab749 and 9587acf.

📒 Files selected for processing (5)
  • autogpt_platform/backend/snapshots/agts_by_creator
  • autogpt_platform/backend/snapshots/agts_pagination
  • autogpt_platform/backend/snapshots/agts_sorted
  • autogpt_platform/backend/snapshots/feat_agts
  • autogpt_platform/frontend/src/app/api/openapi.json
✅ Files skipped from review due to trivial changes (1)
  • autogpt_platform/backend/snapshots/agts_sorted
🧰 Additional context used
📓 Path-based instructions (1)
autogpt_platform/frontend/**/*.{ts,tsx,json}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Use Node.js 21+ with pnpm package manager for frontend development

Files:

  • autogpt_platform/frontend/src/app/api/openapi.json
🧠 Learnings (1)
📚 Learning: 2026-01-28T18:29:18.309Z
Learnt from: CR
Repo: Significant-Gravitas/AutoGPT PR: 0
File: autogpt_platform/CLAUDE.md:0-0
Timestamp: 2026-01-28T18:29:18.309Z
Learning: Applies to autogpt_platform/backend/**/*_test.py : Update snapshots using `poetry run pytest path/to/test.py --snapshot-update` and review changes with `git diff` before committing

Applied to files:

  • autogpt_platform/backend/snapshots/feat_agts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: chromatic
  • GitHub Check: e2e_test
  • GitHub Check: lint
  • GitHub Check: types
  • GitHub Check: Seer Code Review
  • GitHub Check: test (3.11)
  • GitHub Check: test (3.13)
  • GitHub Check: test (3.12)
  • GitHub Check: Check PR Status
🔇 Additional comments (3)
autogpt_platform/backend/snapshots/feat_agts (1)

12-13: LGTM!

The snapshot correctly reflects the new agent_graph_id field added to the StoreAgent model. The test value "test-graph-1" is appropriate for fixture data.

autogpt_platform/backend/snapshots/agts_pagination (1)

12-13: LGTM!

The agent_graph_id field has been consistently added to all agent entries. Using the same test value across agents is acceptable for pagination testing purposes.

Also applies to: 24-25, 36-37, 48-49, 60-61

autogpt_platform/backend/snapshots/agts_by_creator (1)

12-13: LGTM!

The snapshot correctly incorporates the new agent_graph_id field, maintaining consistency with the updated StoreAgent schema.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

- Move asyncio import to module level
- Create get_graphs_by_ids batch function with varargs
- Remove duck typing - properly handle nullable agent_graph_id
- Remove obvious comments
The StoreAgent view defines agentGraphId as String (non-nullable).
Using empty string default for backward compatibility - empty strings
are falsy and filtered out in the agent generation code.
Updated StoreAgent model to have agent_graph_id as required str.
Updated test files to include the new required field.
Replaced asyncio.gather with a single Prisma find_many query using
id IN operator. This is more efficient than N concurrent calls.
- Added get_graphs_by_ids to backend/data/graph.py
- Uses StoreListingVersion lookup (same pattern as get_graph for public graphs)
- Removed inline Prisma query from feature code
Clearer name indicating these are store-listed public graphs
that don't require permission checks.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In
`@autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py`:
- Line 382: Remove the inline comment "# Deduplicate by graph_id (marketplace
agents now have full schemas)" from the deduplication block that references
graph_id in the agent generation logic in core.py (the section handling
marketplace agent schema deduplication), leaving only the code that performs the
dedupe; no code changes beyond deleting that comment.
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 8d0527f and 5cecaf0.

📒 Files selected for processing (5)
  • autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py
  • autogpt_platform/backend/backend/api/features/store/model.py
  • autogpt_platform/backend/backend/api/features/store/model_test.py
  • autogpt_platform/backend/backend/api/features/store/routes_test.py
  • autogpt_platform/backend/backend/data/graph.py
🚧 Files skipped from review as they are similar to previous changes (1)
  • autogpt_platform/backend/backend/api/features/store/model.py
🧰 Additional context used
📓 Path-based instructions (5)
autogpt_platform/backend/**/*.py

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

autogpt_platform/backend/**/*.py: Always run backend setup commands in order: poetry install, poetry run prisma migrate dev, poetry run prisma generate before backend development
Always run poetry run format (Black + isort) before poetry run lint (ruff) for backend code
Use Python 3.10-3.13 with Python 3.11 required for development (managed by Poetry via pyproject.toml)

autogpt_platform/backend/**/*.py: Use FastAPI with async support for API endpoints in the backend
Use Prisma ORM for database operations with PostgreSQL
Use RabbitMQ for async task processing in the backend
Use JWT-based authentication with Supabase integration
Use poetry run format (Black + isort) to format code and poetry run lint (ruff) for linting in the backend
Use ClamAV integration for file upload security

autogpt_platform/backend/**/*.py: Format Python code with poetry run format
Run poetry run test (runs pytest with a docker based postgres + prisma) before committing backend changes

Files:

  • autogpt_platform/backend/backend/data/graph.py
  • autogpt_platform/backend/backend/api/features/store/routes_test.py
  • autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py
  • autogpt_platform/backend/backend/api/features/store/model_test.py
autogpt_platform/backend/backend/data/**/*.py

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

All data access in backend data/*.py files must include user ID validation checks

Files:

  • autogpt_platform/backend/backend/data/graph.py
autogpt_platform/**/*.{ts,tsx,js,py}

📄 CodeRabbit inference engine (AGENTS.md)

Avoid comments at all times unless the code is very complex

Files:

  • autogpt_platform/backend/backend/data/graph.py
  • autogpt_platform/backend/backend/api/features/store/routes_test.py
  • autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py
  • autogpt_platform/backend/backend/api/features/store/model_test.py
autogpt_platform/**/data/*.py

📄 CodeRabbit inference engine (AGENTS.md)

For changes touching data/*.py, validate user ID checks or explain why not needed

Files:

  • autogpt_platform/backend/backend/data/graph.py
autogpt_platform/backend/**/*_test.py

📄 CodeRabbit inference engine (autogpt_platform/CLAUDE.md)

autogpt_platform/backend/**/*_test.py: Place test files colocated with source files using *_test.py naming convention
Use pytest for backend testing with snapshot testing for API responses
Update snapshots using poetry run pytest path/to/test.py --snapshot-update and review changes with git diff before committing

Files:

  • autogpt_platform/backend/backend/api/features/store/routes_test.py
  • autogpt_platform/backend/backend/api/features/store/model_test.py
🧠 Learnings (2)
📚 Learning: 2025-11-25T08:48:33.246Z
Learnt from: CR
Repo: Significant-Gravitas/AutoGPT PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-25T08:48:33.246Z
Learning: Applies to autogpt_platform/backend/backend/server/routers/**/*.py : When updating API routes in backend, modify routes in /backend/backend/server/routers/, add/update Pydantic models in same directory, write tests alongside route files, validate user ID checks for data/*.py changes, and run poetry run test

Applied to files:

  • autogpt_platform/backend/backend/api/features/store/routes_test.py
📚 Learning: 2026-01-28T18:29:18.309Z
Learnt from: CR
Repo: Significant-Gravitas/AutoGPT PR: 0
File: autogpt_platform/CLAUDE.md:0-0
Timestamp: 2026-01-28T18:29:18.309Z
Learning: Applies to autogpt_platform/backend/backend/server/routers/**/*.py : Update block API routes in `/backend/backend/server/routers/` and add/update Pydantic models in the same directory

Applied to files:

  • autogpt_platform/backend/backend/api/features/store/routes_test.py
🧬 Code graph analysis (2)
autogpt_platform/backend/backend/data/graph.py (1)
autogpt_platform/backend/backend/api/features/library/model.py (2)
  • from_db (125-262)
  • from_db (388-423)
autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py (1)
autogpt_platform/backend/backend/data/graph.py (1)
  • get_store_listed_graphs (1031-1061)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
  • GitHub Check: types
  • GitHub Check: Seer Code Review
  • GitHub Check: test (3.12)
  • GitHub Check: test (3.13)
  • GitHub Check: test (3.11)
  • GitHub Check: Check PR Status
🔇 Additional comments (11)
autogpt_platform/backend/backend/api/features/store/routes_test.py (6)

73-86: LGTM — fixture now includes agent_graph_id.
Line 85 updates the featured-agent fixture to cover the new field.


119-132: LGTM — creator fixture aligned with new field.
Line 131 adds agent_graph_id to the creator-specific agent fixture.


165-178: LGTM — sorted agents fixture updated.
Line 177 includes agent_graph_id for the sorted response fixture.


300-314: LGTM — pagination fixture updated for agent_graph_id.
Line 312 extends the list-comprehension fixture to include the new field.


366-385: LGTM — details fixture now includes agent_graph_id.
Line 380 adds the field to StoreAgentDetails to keep fixtures in sync.


435-447: LGTM — creators pagination fixture aligned.
Line 444 adds agent_graph_id to the creator response fixture.

autogpt_platform/backend/backend/api/features/store/model_test.py (2)

18-35: LGTM — StoreAgent test now validates agent_graph_id.
Line 35 adds the assertion for the new field.


38-56: LGTM — StoreAgentsResponse fixture updated.
Line 51 adds agent_graph_id, keeping the response test aligned.

autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py (2)

10-18: LGTM — import aligns with new graph hydration flow.
Line 17 adds get_store_listed_graphs, which is now used by marketplace search.


267-315: LGTM — marketplace agents now include full schemas.
Lines 273-313 correctly hydrate graph data and return LibraryAgentSummary with schemas.

autogpt_platform/backend/backend/data/graph.py (1)

1031-1061: ⚠️ Potential issue | 🟠 Major

Add required user ID validation to this data-layer function.
Line 1031 introduces a new data access path without any user ID validation; please add a user_id parameter and validate it (or otherwise enforce the required check) and update call sites accordingly.

🔧 Suggested direction (update callers to pass user_id)
-async def get_store_listed_graphs(*graph_ids: str) -> dict[str, GraphModel]:
+async def get_store_listed_graphs(user_id: str, *graph_ids: str) -> dict[str, GraphModel]:
     """Batch-fetch multiple store-listed graphs by their IDs.
@@
-    if not graph_ids:
+    if not user_id:
+        raise ValueError("user_id is required")
+    if not graph_ids:
         return {}

As per coding guidelines, all data access in backend data/*.py files must include user ID validation checks.

⛔ Skipped due to learnings
Learnt from: CR
Repo: Significant-Gravitas/AutoGPT PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-11-25T08:48:33.246Z
Learning: Applies to autogpt_platform/backend/backend/data/**/*.py : All data access in backend data/*.py files must include user ID validation checks
Learnt from: CR
Repo: Significant-Gravitas/AutoGPT PR: 0
File: AGENTS.md:0-0
Timestamp: 2026-01-28T18:29:47.950Z
Learning: Applies to autogpt_platform/**/data/*.py : For changes touching `data/*.py`, validate user ID checks or explain why not needed

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

Comment thread autogpt_platform/backend/backend/api/features/chat/tools/agent_generator/core.py Outdated
majdyz
majdyz previously approved these changes Jan 31, 2026
@github-project-automation github-project-automation Bot moved this from 🆕 Needs initial review to 👍🏼 Mergeable in AutoGPT development kanban Jan 31, 2026
@majdyz
majdyz enabled auto-merge January 31, 2026 15:02
- Add missing agent_graph_id field to StoreAgent test fixtures
- Update marketplace agent tests to match new LibraryAgentSummary format
- Regenerate frontend openapi.json to include agent_graph_id
@github-actions github-actions Bot added the platform/frontend AutoGPT Platform - Front end label Jan 31, 2026
majdyz
majdyz previously approved these changes Jan 31, 2026
- Use 'or empty string' for agent_graph_id in hybrid search to satisfy str type
- Remove invalid agent_graph_id from StoreAgentDetails and Creator test fixtures
@majdyz
majdyz force-pushed the fix/marketplace-agent-schema-for-generator branch from 6f74627 to a70f091 Compare January 31, 2026 16:51
@majdyz
majdyz disabled auto-merge January 31, 2026 17:21
@majdyz
majdyz enabled auto-merge January 31, 2026 18:02

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
autogpt_platform/frontend/src/app/api/openapi.json (1)

9836-9851: ⚠️ Potential issue | 🟠 Major

StoreAgent marks agent_graph_id as required—field can be empty in backend responses

The backend db layer defaults agent_graph_id to empty string when source data is missing (agent.get("agentGraphId", "")), and downstream code explicitly filters out agents with empty/falsy agent_graph_id values. Marking this field as required in the OpenAPI schema is therefore too strict and will cause generated clients/validators to reject valid responses containing empty values. Either ensure the backend always populates a non-empty value (including historical data) or make the field optional/nullable in the schema.

🔧 Recommended schema adjustment
-          "agent_graph_id": { "type": "string", "title": "Agent Graph Id" }
+          "agent_graph_id": {
+            "anyOf": [{ "type": "string" }, { "type": "null" }],
+            "title": "Agent Graph Id"
+          }
...
-          "agent_graph_id"
📜 Review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Disabled knowledge base sources:

  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between c6ab749 and 9587acf.

📒 Files selected for processing (5)
  • autogpt_platform/backend/snapshots/agts_by_creator
  • autogpt_platform/backend/snapshots/agts_pagination
  • autogpt_platform/backend/snapshots/agts_sorted
  • autogpt_platform/backend/snapshots/feat_agts
  • autogpt_platform/frontend/src/app/api/openapi.json
✅ Files skipped from review due to trivial changes (1)
  • autogpt_platform/backend/snapshots/agts_sorted
🧰 Additional context used
📓 Path-based instructions (1)
autogpt_platform/frontend/**/*.{ts,tsx,json}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Use Node.js 21+ with pnpm package manager for frontend development

Files:

  • autogpt_platform/frontend/src/app/api/openapi.json
🧠 Learnings (1)
📚 Learning: 2026-01-28T18:29:18.309Z
Learnt from: CR
Repo: Significant-Gravitas/AutoGPT PR: 0
File: autogpt_platform/CLAUDE.md:0-0
Timestamp: 2026-01-28T18:29:18.309Z
Learning: Applies to autogpt_platform/backend/**/*_test.py : Update snapshots using `poetry run pytest path/to/test.py --snapshot-update` and review changes with `git diff` before committing

Applied to files:

  • autogpt_platform/backend/snapshots/feat_agts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: chromatic
  • GitHub Check: e2e_test
  • GitHub Check: lint
  • GitHub Check: types
  • GitHub Check: Seer Code Review
  • GitHub Check: test (3.11)
  • GitHub Check: test (3.13)
  • GitHub Check: test (3.12)
  • GitHub Check: Check PR Status
🔇 Additional comments (3)
autogpt_platform/backend/snapshots/feat_agts (1)

12-13: LGTM!

The snapshot correctly reflects the new agent_graph_id field added to the StoreAgent model. The test value "test-graph-1" is appropriate for fixture data.

autogpt_platform/backend/snapshots/agts_pagination (1)

12-13: LGTM!

The agent_graph_id field has been consistently added to all agent entries. Using the same test value across agents is acceptable for pagination testing purposes.

Also applies to: 24-25, 36-37, 48-49, 60-61

autogpt_platform/backend/snapshots/agts_by_creator (1)

12-13: LGTM!

The snapshot correctly incorporates the new agent_graph_id field, maintaining consistency with the updated StoreAgent schema.

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.

@majdyz
majdyz added this pull request to the merge queue Jan 31, 2026
Merged via the queue into dev with commit 7e37de8 Jan 31, 2026
34 of 36 checks passed
@majdyz
majdyz deleted the fix/marketplace-agent-schema-for-generator branch January 31, 2026 19:40
@github-project-automation github-project-automation Bot moved this to Done in Frontend Jan 31, 2026
@github-project-automation github-project-automation Bot moved this from 👍🏼 Mergeable to ✅ Done in AutoGPT development kanban Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform/backend AutoGPT Platform - Back end platform/frontend AutoGPT Platform - Front end size/l size/m size/xl

Projects

Status: ✅ Done
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants