Skip to content

[PLAT-9044] Clean-up examples - #114

Merged
amvertex merged 1 commit into
mainfrom
demo_config
Aug 6, 2026
Merged

amvertex merged 1 commit into
mainfrom
demo_config

Conversation

@amvertex

@amvertex amvertex commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

We no longer expose a '/demo_config' endpoint, so the examples were not working and were resulting in warnings in our logs. This PR updates the examples to use environment variables.

Test Plan

Verify the examples can be run and warnings no longer appears in our logs

Release Notes

Clean-up examples

Possible Regressions

Examples

Dependencies

None

@amvertex
amvertex requested a review from a team as a code owner August 4, 2026 21:10
@sonarqubecloud

sonarqubecloud Bot commented Aug 4, 2026

Copy link
Copy Markdown

@jdm717 jdm717 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just had one question

Comment on lines +1 to +4
VERTEX_CLIENT_ID=
VERTEX_CLIENT_SECRET=
VERTEX_TOKEN=
VERTEX_FILE_ID=

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious here - will these be injected somehow such that the helpers.js file will be able to access them in a deployed environment? Or will this only work locally after this change?

Don't think it's too critical either way given this example is only exposed in the beta documentation branch (probably a question of whether we should still have those at this point honestly), just curious!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed separately and are okay merging this change as these examples are not really used.

@amvertex
amvertex merged commit 9587645 into main Aug 6, 2026
2 checks passed
@amvertex
amvertex deleted the demo_config branch August 6, 2026 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants