[PR #2] [CLOSED] Fix retryAgents streaming path to match /generate route prefix #4382

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2
Author: @Copilot
Created: 3/9/2026
Status: ❌ Closed

Base: release/1.2.0 ← Head: copilot/sub-pr-1


📝 Commits (2)

  • 347a71e Initial plan
  • 8b232d6 fix: use correct /generate/retry-agents path in retryAgents stream

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/client/src/hooks/use-generate.ts (+1 -1)

📄 Description

retryAgents was calling "/retry-agents" which resolves to /api/retry-agents (404) instead of /api/generate/retry-agents.

Change

  • use-generate.ts: Updated stream path from "/retry-agents" → "/generate/retry-agents"
// Before
api.streamEvents("/retry-agents", { chatId, agentTypes })

// After
api.streamEvents("/generate/retry-agents", { chatId, agentTypes })

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


🔄 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/2 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 3/9/2026 **Status:** ❌ Closed **Base:** `release/1.2.0` ← **Head:** `copilot/sub-pr-1` --- ### 📝 Commits (2) - [`347a71e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/347a71e1e3a81bf0679b4b1f32c8d1efbddc0095) Initial plan - [`8b232d6`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8b232d6a8a5c6b3756c5b61cc38b329fe9f7fd01) fix: use correct /generate/retry-agents path in retryAgents stream ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/hooks/use-generate.ts` (+1 -1) </details> ### 📄 Description `retryAgents` was calling `"/retry-agents"` which resolves to `/api/retry-agents` (404) instead of `/api/generate/retry-agents`. ## Change - **`use-generate.ts`**: Updated stream path from `"/retry-agents"` → `"/generate/retry-agents"` ```ts // Before api.streamEvents("/retry-agents", { chatId, agentTypes }) // After api.streamEvents("/generate/retry-agents", { chatId, agentTypes }) ``` <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:07:07 +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#4382
No description provided.