mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-02 03:42:38 +02:00
set stream response duration to 300s
This commit is contained in:
parent
3027bf0253
commit
1368a9d0c7
2 changed files with 4 additions and 0 deletions
|
|
@ -4,6 +4,8 @@ import { redisClient } from "@/app/lib/redis";
|
|||
import { CopilotAPIRequest } from "@/src/application/lib/copilot/types";
|
||||
import { streamMultiAgentResponse } from "@/src/application/lib/copilot/copilot";
|
||||
|
||||
export const maxDuration = 300;
|
||||
|
||||
export async function GET(request: Request, props: { params: Promise<{ streamId: string }> }) {
|
||||
const params = await props.params;
|
||||
// get the payload from redis
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ import { requireAuth } from "@/app/lib/auth";
|
|||
import { z } from "zod";
|
||||
import { TurnEvent } from "@/src/entities/models/turn";
|
||||
|
||||
export const maxDuration = 300;
|
||||
|
||||
export async function GET(request: Request, props: { params: Promise<{ streamId: string }> }) {
|
||||
const params = await props.params;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue