mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-09-23 10:04:53 +02:00
[eric] outputs: POST /outputs/create honours the workspace_id its request model advertises; the route dropped it and an API-created app had no workspace
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01C9zwUaHucUgrdxvK8FvjYT
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
2721ded6aa
commit
8f8cadea79
@@ -671,6 +671,8 @@ async def create_output(body: OutputCreate):
|
||||
input_schema=body.input_schema,
|
||||
files=body.files,
|
||||
thumbnail=body.thumbnail,
|
||||
# The request model has carried this since the workspace era; the route dropped it, so an API caller's app had no workspace and its card said the files were missing.
|
||||
workspace_id=body.workspace_id,
|
||||
created_at=now,
|
||||
updated_at=now,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user