Skip to content

GoogleSearchRetrievalTool does not have googleSearch #543

@ethan1141

Description

@ethan1141

Thanks for stopping by to let us know something could be better!

PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.

Is this a client library issue or a product issue? We will only be able to assist with issues that pertain to the behaviors of this library. If the issue you're experiencing is due to the behavior of the product itself, please visit the Support page to reach the most relevant engineers.

If the support paths suggested above still do not result in a resolution, please provide the following details.

Environment details

  • Programming language:Node.js v20.18.1
  • OS: Macos 14.6
  • Language runtime version: v20.18.1
  • Package version: latest

Steps to reproduce

  1. define a obj like
    const googleSearchRetrievalTool: GoogleSearchRetrievalTool = {
    googleSearch: {},
    };

  2. error TS2353: Object literal may only specify known properties, and 'googleSearch' does not exist in type 'GoogleSearchRetrievalTool'.

125 |
126 | const googleSearchRetrievalTool: GoogleSearchRetrievalTool = {

127 | googleSearch: {},
| ^
128 | };
129 |

  1. i can hack my way around this but can the source code be updated
    Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: aiplatformIssues related to the googleapis/nodejs-vertexai API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions