Resolve comments + update licence

This commit is contained in:
Linh Tran 2023-12-04 12:30:09 +07:00
parent f5c19bccc5
commit f6f5db01f8
4 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,3 @@
const fetchRetry = require("fetch-retry")(global.fetch);
/**
* Writes data to a file at the specified path.
* @param {string} path - The path to the file.

1
server/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
data

View File

@ -3,7 +3,7 @@
"version": "0.1.3",
"main": "./build/main.js",
"author": "Jan <service@jan.ai>",
"license": "MIT",
"license": "AGPL-3.0",
"homepage": "https://github.com/janhq/jan/tree/main/electron",
"description": "Use offline LLMs with your own data. Run open source models like Llama2 or Falcon on your internal computers/servers.",
"build": {

View File

@ -9,7 +9,7 @@ const router: FastifyPluginAsync = async (app: FastifyInstance, opts) => {
app.register(
assistantsAPI,
{
prefix: "/assisstants"
prefix: "/assistants"
}
)