[PR #2646] [MERGED] Added fix for llamacpp #5704

Closed
opened 2026-10-22 04:18:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2646
Author: @ghost
Created: 6/19/2026
Status: ✅ Merged
Merged: 6/20/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/prof-mari-llamacpp


📝 Commits (2)

  • b5dc2d3 Added fix for llamacpp
  • ca0dba8 Merge branch 'staging' into fix/prof-mari-llamacpp

📊 Changes

13 files changed (+187 additions, -653 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 packages/client/src/components/chat/HomeProfessorMariChat.tsx (+2 -1)
📝 packages/client/src/components/modals/ModelDownloadModal.tsx (+55 -1)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+3 -1)
📝 packages/client/src/stores/sidecar.store.ts (+1 -0)
📝 packages/server/src/routes/sidecar.routes.ts (+1 -0)
📝 packages/server/src/services/llm/providers/local-sidecar.provider.ts (+12 -0)
📝 packages/server/src/services/llm/providers/openai.provider.ts (+83 -22)
📝 packages/server/src/services/professor-mari/workspace-agent.service.ts (+9 -628)
📝 packages/server/src/services/sidecar/sidecar-launch-plan.ts (+6 -0)
📝 packages/server/src/services/sidecar/sidecar-model.service.ts (+9 -0)
📝 packages/server/src/services/sidecar/sidecar-process.service.ts (+2 -0)
📝 packages/shared/src/types/sidecar.ts (+3 -0)

📄 Description

Removes the old JSON parsing methods and forces prof mari to use native tool calling/function calling, but now sidecar work with native tool calling and function calling. For users of local models, they can either use the sidecar or use native function calling in llama.cpp, LMStudio and others.

Also, adds a config in sidecars to toggle lauching with native tool calling


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/2646 **Author:** [@ghost](https://github.com/ghost) **Created:** 6/19/2026 **Status:** ✅ Merged **Merged:** 6/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/prof-mari-llamacpp` --- ### 📝 Commits (2) - [`b5dc2d3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b5dc2d3af433e5fdb1fa8495582448fa660fd39e) Added fix for llamacpp - [`ca0dba8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/ca0dba830ddff81b39a379fb8c7c31932e7e6103) Merge branch 'staging' into fix/prof-mari-llamacpp ### 📊 Changes **13 files changed** (+187 additions, -653 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `packages/client/src/components/chat/HomeProfessorMariChat.tsx` (+2 -1) 📝 `packages/client/src/components/modals/ModelDownloadModal.tsx` (+55 -1) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+3 -1) 📝 `packages/client/src/stores/sidecar.store.ts` (+1 -0) 📝 `packages/server/src/routes/sidecar.routes.ts` (+1 -0) 📝 `packages/server/src/services/llm/providers/local-sidecar.provider.ts` (+12 -0) 📝 `packages/server/src/services/llm/providers/openai.provider.ts` (+83 -22) 📝 `packages/server/src/services/professor-mari/workspace-agent.service.ts` (+9 -628) 📝 `packages/server/src/services/sidecar/sidecar-launch-plan.ts` (+6 -0) 📝 `packages/server/src/services/sidecar/sidecar-model.service.ts` (+9 -0) 📝 `packages/server/src/services/sidecar/sidecar-process.service.ts` (+2 -0) 📝 `packages/shared/src/types/sidecar.ts` (+3 -0) </details> ### 📄 Description Removes the old JSON parsing methods and forces prof mari to use native tool calling/function calling, but now sidecar work with native tool calling and function calling. For users of local models, they can either use the sidecar or use native function calling in llama.cpp, LMStudio and others. Also, adds a config in sidecars to toggle lauching with native tool calling --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:18:41 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5704
No description provided.