Compare commits

..

No commits in common. "bc8c265cd3228c3e80a52a5d95e8a737b3067962" and "ddf28ddbf10e63cec47ad349986c937206e8363e" have entirely different histories.

3 changed files with 6 additions and 10 deletions

View File

@ -18,6 +18,3 @@ FEISHU_APP_SECRET=your_feishu_app_secret
SILICONFLOW_API_KEY=your_siliconflow_api_key
DEEPSEEK_API_KEY=your_deepseek_api_key
GROK_API_KEY=your_grok_api_key
# Grok API Base URL (optional)
GROK_BASE_URL=https://api.x.ai

View File

@ -1,14 +1,13 @@
const mysql = require('mysql2/promise');
require('dotenv').config();
async function checkSchema() {
try {
const connection = await mysql.createConnection({
host: process.env.SERVER_HOST,
port: process.env.SERVER_PORT || 3306,
user: process.env.SERVER_USER,
password: process.env.PASSWORD,
database: process.env.DB_NAME
host: '192.144.32.178',
port: 3306,
user: 'root',
password: 'lichao1314',
database: 'auth_db'
});
console.log('🔍 检查当前 user 表结构:');

View File

@ -11,7 +11,7 @@ export const PROVIDER_TYPE = {
},
Grok: {
name: 'Grok',
baseUrl: process.env.GROK_BASE_URL || 'https://api.x.ai',
baseUrl: 'http://141.98.197.39:8000',
model: 'grok-4.20-beta',
},
};