fix(#918): fix profile clone endpoint and prune dead MCP restart & session prompt REST calls (#926)

Co-authored-by: M57 <hy4ri@users.noreply.github.com>
This commit is contained in:
M57andM57 authored and GitHub committed 2026-08-17 22:51:29 +03:00
1 parent bd75a6d8ea
commit d6892cde7f
7 files changed
+42 -65

No files matched your search

@@ -47,11 +47,6 @@ data class UpdateProfileModelRequest(
val model: String,
)
@Serializable
data class CloneProfileRequest(
val name: String,
)
@Serializable
data class UpdateProfileDescriptionRequest(
val description: String,
@@ -89,6 +84,9 @@ data class CreateProfileRequest(
val mcp_servers: List<McpServerConfigInput>? = null,
val keep_skills: Boolean? = null,
val hub_skills: List<String>? = null,
val clone_from: String? = null,
val clone_all: Boolean? = null,
val clone_from_default: Boolean? = null,
)
@Serializable
@@ -60,9 +60,3 @@ data class BulkDeleteResponse(
data class PruneRequest(
val days: Int,
)
@Serializable
data class SessionPromptResponse(
val prompt: String? = null,
val id: String? = null,
)