mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
copilot: Edit service wiring + create_edit_session + merged registry
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
606cff1964
commit
ef255c4dde
6 files changed
+181
-1
No files matched your search
@@ -91,6 +91,13 @@ def _create(body, actor: Actor) -> tuple[dict, int]:
|
||||
goal_text=body.get("goal_text", ""),
|
||||
)
|
||||
)
|
||||
elif body.get("scenario") == "edit":
|
||||
result, status = _respond(
|
||||
lambda: build_service().create_edit_session(
|
||||
app_id=body.get("app_id", ""),
|
||||
actor=actor,
|
||||
)
|
||||
)
|
||||
else:
|
||||
result, status = _respond(
|
||||
lambda: build_service().create_fix_session(
|
||||
|
||||
Reference in new issue
Block a user