mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #490] [MERGED] Fix local LM studio connection json error #4639
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#4639
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-Engine/pull/490
Author: @smurfboyyessir
Created: 5/6/2026
Status: ✅ Merged
Merged: 5/7/2026
Merged by: @cha1latte
Base:
main← Head:fix/lm_studio_json_error_fix📝 Commits (7)
37f38d0Fix local LM studio connection json errorf49d1e1Add timeout for generating assetsced1ea0Address PR comments668d6bbNo local sidecar carveoutde5e554Address asset generation timeout cancellation70505c2Preserve prompt review cancel behaviorb60eb53Await generated illustration installation📊 Changes
3 files changed (+150 additions, -46 deletions)
View changed files
📝
packages/client/src/components/game/GameSurface.tsx(+132 -41)📝
packages/client/src/lib/api-client.ts(+2 -1)📝
packages/server/src/services/llm/providers/openai.provider.ts(+16 -4)📄 Description
Description
Closes #496
What changed
Core fix is converting json_object request to json_schema request type: https://github.com/Pasta-Devs/Marinara-Engine/pull/490/changes#diff-41cf0ca77fcb41665c8a4bff06a93d6e8623103b53fc2389d2ffa27c8057aa8fR131-R139
The other changes are relating to some error handling which I needed to add to get things moving forward in my environment. I can get rid of them if a more focused PR is preferred, but these improvements seem nice-to-have:
Why this change
Because LM studio for starting new games does not work (see issue linked above)
Validation
Summary by CodeRabbit
Bug Fixes
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.