googleapis / googleapis/nodejs-agentplatform

GoogleSearchRetrievalTool does not have googleSearch

Open
#543 0 comments 0 reactions 0 assignees View on GitHub
api: aiplatform priority: p2 type: bug
Dominant language
TypeScript
Stars
182
Forks
69
Avg merge
1d 8h
Merged PRs (30d)
10

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.