mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-17 13:57:10 +00:00
fix: 实现Gemini客户端取代官方版本
This commit is contained in:
parent
6769e9d3f0
commit
bbe769f1aa
9 changed files with 431 additions and 2428 deletions
10
client/GoogleGeminiClientTest.js
Normal file
10
client/GoogleGeminiClientTest.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import { GoogleGeminiClient } from './GoogleGeminiClient.js'
|
||||
|
||||
async function test () {
|
||||
const client = new GoogleGeminiClient({
|
||||
e: {},
|
||||
userId: 'test',
|
||||
key: 'AIzaSyBZEC3SLp0CVDnNY8WoRT7hn0LB8zn8dFA',
|
||||
model: 'gemini-pro'
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue