mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #280] [Feature]: New Flexible Endpoint to serve extensions #113
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Xelvanis on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/280
What problem does this solve?
Extensions currently have no way to send a generation request, or inspect/preview the generation pipeline, without side effects (e.g. triggering agents, firing webhooks, persisting/appending messages into chat history). Extensions are currently limited in what endpoints they can call to run requests, with sidecar/local being the only option for side effect free generation; this means API connections are rendered inaccessible for this purpose.
This means us plebs who want ME to do certain things, like running /impersonate without actually sending it as a chat message yet, or, iunno, asking {{char}} to make an AITA post, but putting the result in a custom UI panel, have to go whine in the forums for hyper-specific, niche changes, or go back to SillyTavern (I don't wanna).
Proposed solution
A stopgap non-persisting endpoint that runs the full prompt assembly and LLM generation pipeline without any durable side effects — giving extensions a clean "what-if" surface until a proper extension API is designed.
Look at all these cool things that you could do with a custom endpoint!
The possibilities are truly endless.
Alternatives considered
I have considered crying to Mari on the ME forums to change how impersonate works. She seems busy.
Additional context
I spent three days hyperfixating on a custom endpoint that is now currently functional. Please refer to my PR. Luka said I could >:
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: