ITADN

GoogleSearchRetrievalTool does not have googleSearch

#543Openethan1141 创建于 2025-07-23
type: bugpriority: p2
E
ethan1141commented
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](https://cloud.google.com/support/) 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](https://cloud.google.com/support) 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 | 3. 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!
0 条评论