Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 28612bb

Browse files
committed
Add comment
1 parent 1f5b762 commit 28612bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plugin/filesController.ts

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export class FilesystemController extends Controller {
3838
const sessionID = getUserSessionID(conversationID, env)
3939
const session = await CachedSession.findOrStartSession({ sessionID, envID: env })
4040

41+
// Even though we're returning a string and using @Produces, we need to set the content type manually.
4142
this.setHeader('Content-Type', textPlainMIME)
4243

4344
try {

0 commit comments

Comments
 (0)