Skip to content

ActionSearchSource.type is claimed to be always be 'url', but can be 'api' #2636

@DouweM

Description

@DouweM

The API docs and source code both claim that ActionSearchSource.type will always be 'url', but in fact it can be 'api' as well:

      - action:
          query: 'weather: Mexico, Mexico City'
          sources:
          - name: oai-weather
            type: api
          type: search
        id: ws_08313d91a201f39c0068c4ab69d5bc81958a568c6c8fa3b010
        status: completed
        type: web_search_call

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions