mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-06-04 11:14:10 +08:00
fix: nodejs endpoint (#20)
This commit is contained in:
parent
805da40b15
commit
c2e7fe107a
@ -17,7 +17,7 @@ const routes = {
|
|||||||
},
|
},
|
||||||
createChatMessage: {
|
createChatMessage: {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: () => `/chat-message`,
|
url: () => `/chat-messages`,
|
||||||
},
|
},
|
||||||
getConversationMessages: {
|
getConversationMessages: {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dify-client",
|
"name": "dify-client",
|
||||||
"version": "1.0.2",
|
"version": "1.0.3",
|
||||||
"description": "This is the Node.js SDK for the Dify.AI API, which allows you to easily integrate Dify.AI into your Node.js applications.",
|
"description": "This is the Node.js SDK for the Dify.AI API, which allows you to easily integrate Dify.AI into your Node.js applications.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user