mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7919] [Feature Request]: built-in web search with an API key, able to run on every message #4350
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#4350
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 @coffeepanda02 on GitHub (Oct 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7919
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
For roleplay, characters often need current real-world information, like new products, brands, prices, or events, that the model's training data doesn't have. Marinara has no built-in internet search. Webhook tools can't send API keys or headers, and a tool only runs when the model decides to call it, so there's currently no reliable way to get search on every turn without building a separate relay service.
Proposed solution
A built-in Web Search feature where I enter my own search API key (Tavily, SearXNG, Brave, or similar). It would include an auto-search option per chat that searches before every reply and injects the results into the prompt. Useful controls would be the number of results, a size limit on the injected text, and an optional "only search when the message mentions something real-world" mode to save API quota.
Alternatives considered
Using webhook tools with a relay service in between, but that requires coding knowledge and a separate hosted service, and the tool only runs if the model decides to call it.
Additional context
Many roleplay and worldbuilding scenarios involve current real-world details (products, brands, news) that models trained months ago can't know. Built-in search with a user-supplied API key would help anyone using Marinara for that kind of story.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
PS: Sorry I accidentally send the last request empty, my hand slipped.
@SpicyMarinara commented on GitHub (Oct 21, 2026):
We already support web search; you need to enable it in the Function Calling section of Chat Settings. Not every model supports this.
@coffeepanda02 commented on GitHub (Oct 21, 2026):
Thanks for the reply! I looked at the built-in web_search, but it isn’t quite what I meant. I was asking for two specific things: (1) the option to use my own search API key (like Tavily), and (2) an option to run the search automatically before every reply, not only when the model decides to call a tool. Does the built-in tool support either of these? If not, could that be considered as a feature? Thank you!
@coffeepanda02 commented on GitHub (Oct 22, 2026):
@SpicyMarinara Following up on my comment above in case it got missed. Thank you so much for your time and efforts!!