mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1249
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1017
Author: @Promansis
Created: 9/21/2026
Status: ✅ Merged
Merged: 9/21/2026
Merged by: @Promansis
Base:
staging← Head:fix/ltm-extraction-code-899📝 Commits (2)
508bef4fix(llm): trim trailing slash in OpenAI-compatible base URLs (#998)c3c25c2Merge branch 'staging' into fix/ltm-extraction-code-899📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
sources/engine/packages/server/src/services/llm/providers/openai.provider.ts(+1 -1)📄 Description
Pull request
Linked issue
Closes #998
Why this change
baseUrlends with/produced requests to.../v1//chat/completions(double slash / empty path segment). That path never matched the expected/chat/completionsendpoint, so LTM extraction and any generation routed through that connection failed.What changed
sources/engine/packages/server/src/services/llm/providers/openai.provider.ts: theOpenAIProviderconstructor now trims trailing slashes frombaseUrlbefore/chat/completions,/responses, and/embeddingsare appended. This is a shared Engine source change; no package payloads, artifacts, or catalog entries were regenerated.Package and security impact
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
git HEAD): constructingOpenAIProvider("http://127.0.0.1:9999/v1/", key)and callingchatComplete()produced the wire URLhttp://127.0.0.1:9999/v1//chat/completions.http://127.0.0.1:9999/v1/chat/completions(single slash).fetchand ran the captured provider undertsxwith engine deps (pino,undici, and@marinara-engine/sharedviatests/tsconfig.regressions.json). Both/chat/completionstransport sites share the trimmedthis.baseUrl.Documentation impact
UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.