Spaces:
Running
Running
Update server.js
Browse files
server.js
CHANGED
@@ -72,7 +72,7 @@ app.post('/cre', async (req, res) => {
|
|
72 |
|
73 |
try {
|
74 |
const response = await axios.post('https://api.deepseek.com/v1/chat/completions', {
|
75 |
-
messages: [{'role': 'system', 'content': start}, {'role': 'system', 'content': 'И ОБЯЗАТЕЛЬНО, всегда в конце "text" проси обновить
|
76 |
max_tokens: 2000,
|
77 |
temperature: 0.6,
|
78 |
// presence_penalty: 0.0,
|
|
|
72 |
|
73 |
try {
|
74 |
const response = await axios.post('https://api.deepseek.com/v1/chat/completions', {
|
75 |
+
messages: [{'role': 'system', 'content': start}, {'role': 'system', 'content': 'И ОБЯЗАТЕЛЬНО, всегда в конце "text" проси обновить приложение, уведомляя о том, что скоро в жтой версии перестанешь отвечать!'}, {'role': 'user', 'content': prompt}],
|
76 |
max_tokens: 2000,
|
77 |
temperature: 0.6,
|
78 |
// presence_penalty: 0.0,
|