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: make sure genkit core libs by default don't output debug messages #982

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

pavelgj
Copy link
Collaborator

@pavelgj pavelgj commented Sep 30, 2024

Running a simple app:

import { gemini15Flash, googleAI } from '@genkit-ai/googleai';
import { genkit } from 'genkit';

const ai = genkit({ plugins: [googleAI()] });

(async () => {
  const response = await ai.generate({
    model: gemini15Flash,
    prompt: 'tell me a joke',
  });

  console.log(response.text());
})();
$ tsx src/test.ts 
Why don't scientists trust atoms? 

Because they make up everything! 

Also fixed model deprecation warning.

Fixes #848

Checklist (if applicable):

  • Tested (manually, unit tested, etc.)

@pavelgj pavelgj requested a review from apascal07 September 30, 2024 16:11
@pavelgj pavelgj merged commit d5337bc into next Oct 1, 2024
4 checks passed
@pavelgj pavelgj deleted the pj/quietGenkit branch October 1, 2024 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants