Mismatch of API Docs and Enum Values ResponseFileSearchToolCall

In the api documentation it states these potential values:

In the python sdk it states the following in the literal for status:

class ResponseFileSearchToolCall(BaseModel):
    id: str
    """The unique ID of the file search tool call."""

    queries: List[str]
    """The queries used to search for files."""

    status: Literal["in_progress", "searching", "completed", "incomplete", "failed"]
    """The status of the file search tool call.

    One of `in_progress`, `searching`, `incomplete` or `failed`,
    """

I have gotten a ‘completed’ status so the python sdk is likely correct and the api docs should be updated.

2 Likes

Welcome to the dev community @jasekraft12

Thanks for reporting this discrepancy.

1 Like