Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: @invertase update basic-gemini app for compatibility with new dependencies #1252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Gustolandia
Copy link

Description:
This PR addresses the following changes to ensure the functionality and maintainability of the basic-gemini app:

Code Fixes: Updated the core logic to resolve compatibility issues with the latest dependencies, including @genkit-ai/googleai and @genkit-ai/vertexai. Adjusted input handling and flow definitions for jokeFlow and jokeSubjectGenerator tools.
Dependencies: Updated package.json to include necessary dependencies and reflect the workspace structure.
Documentation: Added a detailed README.md file with setup instructions, usage guidelines, and examples for both developers and testers.
Changes Made:
Corrected the jokeFlow logic to handle user inputs via UI.
Fixed LLM response parsing to align with updated API expectations.
Enhanced comments and structure within the main code for clarity.
Added environment setup instructions (including API key and Google Cloud configuration) to README.md.
Testing:
Verified the app locally with pnpm genkit:dev and genkit flow:run jokeFlow.
Ensured seamless interaction with the Genkit Developer UI for user inputs and outputs.
Impact:
This update resolves compatibility issues caused by recent dependency changes and improves documentation, making the basic-gemini app more accessible to new developers and testers.

Checklist (if applicable):

  • [ x] Tested (manually)
  • [x ] Docs updated

@Gustolandia Gustolandia added bug Something isn't working docs Improvements or additions to documentation labels Nov 12, 2024
@Gustolandia Gustolandia added this to the js-0.9.0 milestone Nov 12, 2024
@Gustolandia Gustolandia self-assigned this Nov 12, 2024
@Gustolandia Gustolandia changed the title fix: update basic-gemini app for compatibility with new dependencies fix: @invertase update basic-gemini app for compatibility with new dependencies Nov 12, 2024
@Gustolandia Gustolandia force-pushed the @invertase/genkit/js/testapps/basic-gemini branch 3 times, most recently from 46c49b3 to cab9b08 Compare November 12, 2024 20:54
@Gustolandia Gustolandia force-pushed the @invertase/genkit/js/testapps/basic-gemini branch from cab9b08 to ed9ef10 Compare November 12, 2024 20:59
@pavelgj pavelgj changed the base branch from next to main November 13, 2024 00:26
@Gustolandia Gustolandia changed the base branch from main to next November 13, 2024 14:25
@Gustolandia Gustolandia changed the base branch from next to main November 15, 2024 12:53
@@ -7,20 +7,23 @@
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node lib/index.js",
"build": "tsc",
"build:watch": "tsc --watch"
"build:watch": "tsc --watch",
"genkit:dev": "cross-env GENKIT_ENV=dev pnpm dev",
Copy link
Collaborator

Choose a reason for hiding this comment

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

same thing as in #1259 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs Improvements or additions to documentation
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants