Skip to content

Can't query attachments via duckdb anymore #874

Description

@tarasglek

I'm going crazy.

Steps to repro

make a file test.json:

{"hello":"world"}

Upload it as attachment then run

select * from 'test.json'

Diagnosis

The problem is that chat is null in

const files = chat.files();

i'm also seeing

ChatCraftFile.ts:69 
 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'digest')
    at ChatCraftFile.calculateHash (ChatCraftFile.ts:69:44)
    at async ChatCraftFile.findOrCreate (ChatCraftFile.ts:113:16)
    at async use-file-import.tsx:206:29


when attaching files.

Weirdly I can't go back to this working.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions