fix(copilot): fix image auth (#1841)

* Fix copilot image auth

* Lint

* Remove extra loggign

* Update apps/sim/app/api/copilot/chat/route.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Siddharth Ganesan
2025-11-07 11:40:13 -08:00
committed by GitHub
parent c3436e998f
commit a31dc733cf
3 changed files with 10 additions and 2 deletions

View File

@@ -325,6 +325,7 @@ export async function POST(req: NextRequest) {
...(processedFileContents.length > 0 && { fileAttachments: processedFileContents }),
}
try {
logger.info(`[${tracker.requestId}] About to call Sim Agent`, {
hasContext: agentContexts.length > 0,