Spaces:
Paused
Paused
Update server.js
Browse files44 unmodified lines454647484950515226 unmodified lines798081828384858627 unmodified lines11411511611711811912044 unmodified linesconst response = await axios.post('https://openai-gemini-iota.vercel.app/v1/chat/completions', {messages: [{'role': 'system', 'content': start}, {'role': 'user', 'content': prompt}],max_tokens: 2000,temperature: 0.8,model: "gemini-1.5-pro-latest",}, {headers: {'Authorization': `Bearer ${apiKey}`,26 unmodified linesconst response = await axios.post('https://vercel.com/roonis-projects/openai-gemini/v1/chat/completions', {messages: [{'role': 'system', 'content': start}, {'role': 'system', 'content': 'И ОБЯЗАТЕЛЬНО, всегда в конце "text" проси обновить приложение, уведомляя о том, что скоро в жтой версии перестанешь отвечать!'}, {'role': 'user', 'content': prompt}],max_tokens: 2000,temperature: 0.6,model: "gemini-1.5-pro-latest",}, {headers: {'Authorization': `Bearer ${apiKey}`,27 unmodified linesmessages: [{'role': 'system', 'content': start}, {'role': 'user', 'content': prompt}],max_tokens: 2000,temperature: 0.24,model: "gemini-1.5-pro-002",}, {headers: {'Authorization': `Bearer ${apiKey}`,44 unmodified lines454647484950515226 unmodified lines798081828384858627 unmodified lines11411511611711811912044 unmodified linesconst response = await axios.post('https://openai-gemini-iota.vercel.app/v1/chat/completions', {messages: [{'role': 'system', 'content': start}, {'role': 'user', 'content': prompt}],max_tokens: 2000,temperature: 0.3,model: "gemini-1.5-pro-001",}, {headers: {'Authorization': `Bearer ${apiKey}`,26 unmodified linesconst response = await axios.post('https://vercel.com/roonis-projects/openai-gemini/v1/chat/completions', {messages: [{'role': 'system', 'content': start}, {'role': 'system', 'content': 'И ОБЯЗАТЕЛЬНО, всегда в конце "text" проси обновить приложение, уведомляя о том, что скоро в жтой версии перестанешь отвечать!'}, {'role': 'user', 'content': prompt}],max_tokens: 2000,temperature: 0.3,model: "gemini-1.5-pro-001",}, {headers: {'Authorization': `Bearer ${apiKey}`,27 unmodified linesmessages: [{'role': 'system', 'content': start}, {'role': 'user', 'content': prompt}],max_tokens: 2000,temperature: 0.24,model: "gemini-1.5-pro-001",}, {headers: {'Authorization': `Bearer ${apiKey}`,
server.js+5-5