Skip to content

'FileCitation' object has no attribute 'quote' #1498

@esseti

Description

@esseti

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

After the last update i've tried to use my code that does what explained also here. https://platform.openai.com/docs/assistants/how-it-works/managing-threads-and-messages

Now when accessing the .quote i receive the error as above

'FileCitation' object has no attribute 'quote'.

can it be that they changed the api? (i don't find annotations description in the docs)

To Reproduce

  1. Create an assistant with files associated
  2. ask a question that has filecitation
  3. check to get the file_citation.quote

Code snippets

No response

OS

macOs

Python version

3.12

Library version

1.30.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions