修改了API
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -22,3 +22,4 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
CLAUDE.md
|
||||
@@ -13,6 +13,7 @@
|
||||
"@tauri-apps/api": "^2",
|
||||
"@tauri-apps/plugin-opener": "^2",
|
||||
"element-plus": "^2.10.4",
|
||||
"tauri": "^0.15.0",
|
||||
"vue": "^3.5.13",
|
||||
"vue-router": "^4.5.1"
|
||||
},
|
||||
|
||||
5662
pnpm-lock.yaml
generated
5662
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
const API_KEY: &str = "AIzaSyDBienhzI5Y3o9N4foi7QQRarTtuOIsVJg"; // 请替换为您的OpenAI API密钥
|
||||
const API_URL: &str = "https://melodic-bonbon-359e24.netlify.app/edge/v1/chat/completions";
|
||||
const API_KEY: &str = "sk-2tosmoMAa45r9HrovQ24oC4nmMfeSI4a8vq8gyElC2ZRRrqv"; // 请替换为您的OpenAI API密钥
|
||||
const API_URL: &str = "https://api.llvho.com/v1/chat/completions";
|
||||
|
||||
// --- Structs for Serialization (Request) ---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user