mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-02 07:54:48 -07:00
feat(core, cli): Bump genai version to 1.30.0 (#13435)
This commit is contained in:
@@ -16,7 +16,6 @@ describe('getMCPServerPrompts', () => {
|
||||
{
|
||||
name: 'prompt1',
|
||||
serverName: 'server1',
|
||||
tool: { name: 'p1', description: '', inputSchema: {} },
|
||||
invoke: async () => ({
|
||||
messages: [
|
||||
{ role: 'assistant', content: { type: 'text', text: '' } },
|
||||
|
||||
@@ -21,11 +21,6 @@ describe('PromptRegistry', () => {
|
||||
const prompt1: DiscoveredMCPPrompt = {
|
||||
name: 'prompt1',
|
||||
serverName: 'server1',
|
||||
tool: {
|
||||
name: 'prompt1',
|
||||
description: 'Prompt 1',
|
||||
inputSchema: {},
|
||||
},
|
||||
invoke: async () => ({
|
||||
messages: [
|
||||
{ role: 'assistant', content: { type: 'text', text: 'response1' } },
|
||||
@@ -36,11 +31,6 @@ describe('PromptRegistry', () => {
|
||||
const prompt2: DiscoveredMCPPrompt = {
|
||||
name: 'prompt2',
|
||||
serverName: 'server1',
|
||||
tool: {
|
||||
name: 'prompt2',
|
||||
description: 'Prompt 2',
|
||||
inputSchema: {},
|
||||
},
|
||||
invoke: async () => ({
|
||||
messages: [
|
||||
{ role: 'assistant', content: { type: 'text', text: 'response2' } },
|
||||
@@ -51,11 +41,6 @@ describe('PromptRegistry', () => {
|
||||
const prompt3: DiscoveredMCPPrompt = {
|
||||
name: 'prompt1',
|
||||
serverName: 'server2',
|
||||
tool: {
|
||||
name: 'prompt1',
|
||||
description: 'Prompt 3',
|
||||
inputSchema: {},
|
||||
},
|
||||
invoke: async () => ({
|
||||
messages: [
|
||||
{ role: 'assistant', content: { type: 'text', text: 'response3' } },
|
||||
|
||||
Reference in New Issue
Block a user