mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 06:06:35 +08:00
feat: new domain and api struct
This commit is contained in:
parent
9d0f00785d
commit
95dae42fae
@ -1,7 +1,7 @@
|
|||||||
import axios from 'axios'
|
import axios from 'axios'
|
||||||
|
|
||||||
export class LangGeniusClient {
|
export class LangGeniusClient {
|
||||||
constructor(apiKey, baseUrl = 'https://api.langgenius.ai/v1') {
|
constructor(apiKey, baseUrl = 'https://api.dify.ai/v1') {
|
||||||
this.apiKey = apiKey
|
this.apiKey = apiKey
|
||||||
this.baseUrl = baseUrl
|
this.baseUrl = baseUrl
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "langgenius-client",
|
"name": "langgenius-client",
|
||||||
"version": "1.0.1",
|
"version": "1.1.1",
|
||||||
"description": "This is the Node.js SDK for the LangGenius API, which allows you to easily integrate LangGenius into your Node.js applications.",
|
"description": "This is the Node.js SDK for the LangGenius API, which allows you to easily integrate LangGenius into your Node.js applications.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user