Spaces:
Sleeping
Sleeping
Update plugins/gpt-4.js
Browse files- plugins/gpt-4.js +5 -5
plugins/gpt-4.js
CHANGED
|
@@ -45,11 +45,11 @@ const handler = async (req, res) => {
|
|
| 45 |
};
|
| 46 |
|
| 47 |
module.exports = {
|
| 48 |
-
name: '
|
| 49 |
-
description: 'Generate responses using
|
| 50 |
type: 'GET',
|
| 51 |
-
routes: ['api/AI/
|
| 52 |
-
tags: ['ai', '
|
| 53 |
main: ['AI'],
|
| 54 |
parameters: ['text', 'chatId', 'key'],
|
| 55 |
enabled: true,
|
|
@@ -125,7 +125,7 @@ async function createChat(jwtToken, cookies, title = 'New Chat') {
|
|
| 125 |
|
| 126 |
const { data } = await axios.post(`${CHATAI_API}/message/context`, {
|
| 127 |
title,
|
| 128 |
-
chatModel: '
|
| 129 |
}, {
|
| 130 |
headers: {
|
| 131 |
...headers,
|
|
|
|
| 45 |
};
|
| 46 |
|
| 47 |
module.exports = {
|
| 48 |
+
name: 'Haiku Claude AIv3',
|
| 49 |
+
description: 'Generate responses using Haiku Anthropic Model v3',
|
| 50 |
type: 'GET',
|
| 51 |
+
routes: ['api/AI/haiku'],
|
| 52 |
+
tags: ['ai', 'Anthropic', 'Claude'],
|
| 53 |
main: ['AI'],
|
| 54 |
parameters: ['text', 'chatId', 'key'],
|
| 55 |
enabled: true,
|
|
|
|
| 125 |
|
| 126 |
const { data } = await axios.post(`${CHATAI_API}/message/context`, {
|
| 127 |
title,
|
| 128 |
+
chatModel: 'claude-3-haiku'
|
| 129 |
}, {
|
| 130 |
headers: {
|
| 131 |
...headers,
|