Commit Graph

880 Commits

Author SHA1 Message Date
Harsh Jha
ffb50953d9 fix: quickstart_js.yaml 2025-09-08 10:59:27 +05:30
Harsh Jha
e1b3d8b748 chore: updated quickstart_js.yaml 2025-09-08 10:54:30 +05:30
AnmolShukla2002
cef34f5886 Merge branch 'sts-js-sh' of github.com:googleapis/genai-toolbox into sts-js-sh 2025-09-04 14:36:58 +05:30
AnmolShukla2002
718049bccd chore(ci): updated script for js 2025-09-04 14:34:49 +05:30
Harsh Jha
ec4a564396 Merge branch 'sts-js-sh' of https://github.com/googleapis/genai-toolbox into sts-js-sh 2025-09-03 17:45:53 +05:30
AnmolShukla2002
823e266630 chore(testing): added shell script for js 2025-09-03 17:40:57 +05:30
AnmolShukla2002
1c6e0c69e3 added shell script for js 2025-09-03 17:37:05 +05:30
AnmolShukla2002
a1966cfbef updated header-checker 2025-09-03 17:37:05 +05:30
AnmolShukla2002
fa0d89b67d improve logging 2025-09-03 17:37:05 +05:30
AnmolShukla2002
ab4b18d8cd updated test script structure 2025-09-03 17:37:05 +05:30
AnmolShukla2002
3efcad5d5e changed js files to ESmodules 2025-09-03 17:37:05 +05:30
AnmolShukla2002
077b2350da remove tools.yaml 2025-09-03 17:37:05 +05:30
AnmolShukla2002
abf8acd3ed prevent header check for quickstart files 2025-09-03 17:37:04 +05:30
AnmolShukla2002
a45d6d4634 revamp test script 2025-09-03 17:37:04 +05:30
Harsh Jha
f260568493 refactor(hugo): rename snippet shortcode to regionInclude and add file comments 2025-09-03 17:37:04 +05:30
AnmolShukla2002
bbf6b73483 add testcases for llamaindex agent 2025-09-03 17:37:04 +05:30
AnmolShukla2002
10b7ae9688 add testcases for langchain agent 2025-09-03 17:37:04 +05:30
AnmolShukla2002
6c61708a88 added license header to test file 2025-09-03 17:37:04 +05:30
AnmolShukla2002
feba5e204e chore(testing): added test case script for sample agent for JS 2025-09-03 17:37:04 +05:30
Harsh Jha
24e13d403e feat: Implement language-agnostic snippet shortcode 2025-09-03 17:37:04 +05:30
Harsh Jha
3ad6f1a15d refactor(docs): Fix Table of Contents and optimize region include shortcode 2025-09-03 17:37:04 +05:30
Harsh Jha
22aa7a884b refactor(docs): Replace duplicated content with a shared shortcode 2025-09-03 17:37:04 +05:30
Harsh Jha
c0f49a0c57 feat: Add shortcode for including file regions 2025-09-03 17:37:04 +05:30
AnmolShukla2002
2e485da411 rename header-checker-lint 2025-09-03 17:37:04 +05:30
AnmolShukla2002
652c24d38c revert to .yaml 2025-09-03 17:37:04 +05:30
AnmolShukla2002
b86fe9f822 updated function names to main 2025-09-03 17:37:04 +05:30
Harsh Jha
81cc70a1a2 feat(docs): add genAI for JavaScript quickstart 2025-09-03 17:37:04 +05:30
AnmolShukla2002
5693e23868 removed license headers from sample agents 2025-09-03 17:37:04 +05:30
Harsh Jha
eaec15b8cf refactor(hugo): rename snippet shortcode to regionInclude and add file comments 2025-09-03 17:37:04 +05:30
AnmolShukla2002
6e4fd3ad4b minor fixes to sync with original code 2025-09-03 17:37:03 +05:30
AnmolShukla2002
099a02faa2 deleted dependency files 2025-09-03 17:37:03 +05:30
AnmolShukla2002
38801cc636 chore(testing): setup initial directory structure for JS 2025-09-03 17:37:03 +05:30
AnmolShukla2002
dcc6e50319 chore(testing): setup initial directory structure for JS 2025-09-03 17:37:03 +05:30
Harsh Jha
52386f8d94 feat: Implement language-agnostic snippet shortcode 2025-09-03 17:37:03 +05:30
Harsh Jha
101085a563 refactor(docs): Fix Table of Contents and optimize region include shortcode 2025-09-03 17:37:03 +05:30
Harsh Jha
99ec05380d refactor(docs): Replace duplicated content with a shared shortcode 2025-09-03 17:37:03 +05:30
Harsh Jha
13e364cf9c feat: Add shortcode for including file regions 2025-09-03 17:37:03 +05:30
Harsh Jha
1159340dcf feat(ci): add quickstart_js.yaml for JS sample workflow 2025-09-03 17:33:14 +05:30
AnmolShukla2002
6606163686 added shell script for js 2025-09-03 15:49:29 +05:30
Harsh Jha
d2978d5395 docs: rename quickstart functions (#1308) 2025-09-03 05:22:07 +00:00
trehanshakuntG
14c224939a fix(tools/firestore): add document/collection path validation (#1229)
This change introduces robust validation for Firestore document and
collection paths across various Firestore tools.

Key changes include:
* **Path Validation:** Ensures that all Firestore paths used in tools
are relative and adhere to correct formatting, preventing issues with
absolute paths or malformed segments.
* **Improved Parameter Descriptions:** Updates the descriptions for
Firestore tool parameters to clearly specify the expectation of relative
paths (e.g., `users/userId` or `users/userId/posts/postId`) instead of
absolute paths.
* **New Utility:** Adds `internal/tools/firestore/util/validator.go` and
its corresponding test file for path validation logic.

---------

Co-authored-by: prernakakkar-google <158031829+prernakakkar-google@users.noreply.github.com>
2025-09-03 05:10:28 +00:00
Huan Chen
7430f318a2 docs: update bigquery document (#1290)
## Description

Added new tools and optional config in doc.

## PR Checklist
---
> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:
- [ ] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [ ] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/langchain-google-alloydb-pg-python/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)
- [ ] Make sure to add `!` if this involve a breaking change

🛠️ Fixes #<issue_number_goes_here>
2025-09-02 22:10:55 +00:00
Yuan Teoh
21085ef422 fix(tools/bigquerysql)!: remove useClientOAuth from tools config (#1312)
## Description
---
The `useClientOAuth` config was moved from the tool into `bigquery`
source in #1279, however the config was not removed from the source. The
value is now retrieved from the source instead of setting it directly.

---------

Co-authored-by: Wenxin Du <117315983+duwenxin99@users.noreply.github.com>
2025-09-02 21:45:39 +00:00
Yuan Teoh
d16f89fbb6 fix(tools/oceanbase): fix encoded text with mysql driver (#1283)
Update the type conversion to according to the types that mysql driver
returns: https://github.com/go-sql-driver/mysql/blob/v1.9.3/fields.go

All `scanTypeBytes` or `scanTypeString` or `scanTypeNullString` will now
be converted into string. Remaining types (numeric types or
`scanTypeUnknown`) are all returned as is.

Separately handle "JSON" to prevent double marshaling.

This update is needed for oceanbase since it uses mysql driver for
database connection.

ref: #1161
2025-09-02 11:47:54 -07:00
Mend Renovate
4da2fcc055 chore(deps): update module github.com/neo4j/neo4j-go-driver/v5 to v5.28.3 (#1302)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/neo4j/neo4j-go-driver/v5](https://redirect.github.com/neo4j/neo4j-go-driver)
| `v5.28.2` -> `v5.28.3` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fneo4j%2fneo4j-go-driver%2fv5/v5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fneo4j%2fneo4j-go-driver%2fv5/v5.28.2/v5.28.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>neo4j/neo4j-go-driver
(github.com/neo4j/neo4j-go-driver/v5)</summary>

###
[`v5.28.3`](https://redirect.github.com/neo4j/neo4j-go-driver/releases/tag/v5.28.3)

[Compare
Source](https://redirect.github.com/neo4j/neo4j-go-driver/compare/v5.28.2...v5.28.3)

See <https://github.com/neo4j/neo4j-go-driver/wiki/5.x-changelog> for
more information.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45MS4xIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
2025-09-02 10:53:13 -07:00
Anmol Shukla
27381ed9c0 chore(ci): rename header checker and excluded quickstart files (#1288) 2025-09-02 13:40:52 +05:30
Mateusz Nowak
670da6e451 ci: fix dataplex integration tests (#1289)
Restoring Dataplex integration after addressing test failure.

🛠️ Ref https://github.com/googleapis/genai-toolbox/issues/1250
2025-09-01 19:09:15 +00:00
Mend Renovate
2f1ed3aaf5 chore(deps): update module cloud.google.com/go/bigtable to v1.39.0 (#1278)
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
|
[cloud.google.com/go/bigtable](https://redirect.github.com/googleapis/google-cloud-go)
| `v1.38.0` -> `v1.39.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/cloud.google.com%2fgo%2fbigtable/v1.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/cloud.google.com%2fgo%2fbigtable/v1.38.0/v1.39.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/googleapis/genai-toolbox).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi43IiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
2025-08-29 12:30:43 -07:00
Wenxin Du
8d20a48f13 fix(bigquery): Move useClientOAuth config from tool to source (#1279) 2025-08-29 13:47:00 -04:00
AnmolShukla2002
cad784aa4f updated header-checker 2025-08-29 16:17:46 +05:30