Gemini connector - update test message (#188850)

This commit is contained in:
Steph Milovic 2024-07-22 11:06:37 -05:00 committed by GitHub
parent 7aae5d9ce1
commit 47b0105ea7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ Body:: A stringified JSON payload sent to the {gemini} invoke model API. Fo
body: JSON.stringify({
contents: [{
role: user,
parts: [{ text: 'Write the first line of a story about a magic backpack.' }]
parts: [{ text: 'Hello world!' }]
}],
generation_config: {
temperature: 0,

View file

@ -27,7 +27,7 @@ const contents = [
role: 'user',
parts: [
{
text: 'Write the first line of a story about a magic backpack.',
text: 'Hello world!',
},
],
},

View file

@ -310,7 +310,7 @@ export default function geminiTest({ getService }: FtrProviderContext) {
role: 'user',
parts: [
{
text: 'Write the first line of a story about a magic backpack.',
text: 'Hello world!',
},
],
},
@ -325,7 +325,7 @@ export default function geminiTest({ getService }: FtrProviderContext) {
contents: [
{
role: 'user',
parts: [{ text: 'Write the first line of a story about a magic backpack.' }],
parts: [{ text: 'Hello world!' }],
},
],
generation_config: { temperature: 0, maxOutputTokens: 8192 },