docker fixes for agents

This commit is contained in:
Ramnique Singh 2025-03-26 17:01:49 +05:30
parent 695a961333
commit 277a553ee1
6 changed files with 46 additions and 13 deletions

View file

@ -6,7 +6,7 @@ export async function GET(request: Request, { params }: { params: { streamId: st
// Fetch the upstream SSE stream.
const upstreamResponse = await fetch(upstreamUrl, {
headers: {
'Authorization': `Bearer ${process.env.AGENTS_API_KEY}`,
'Authorization': `Bearer ${process.env.AGENTS_API_KEY || 'test'}`,
},
cache: 'no-store',
});