Coder Social home page Coder Social logo

anse-app / anse Goto Github PK

View Code? Open in Web Editor NEW
1.8K 17.0 430.0 1.11 MB

Supercharged experience for multiple models such as ChatGPT, DALL-E and Stable Diffusion.

Home Page: https://anse.app

License: MIT License

JavaScript 1.55% Dockerfile 0.13% TypeScript 93.12% Astro 1.49% CSS 3.72%
chatgpt dall-e stable-diffusion openai gpt-3 gpt-35-turbo gpt-4 google-gemini azure-openai

anse's People

Contributors

actions-user avatar caoyunzhou avatar chancelyg avatar chunkiuu avatar cnseniorious000 avatar ddiu8081 avatar delevant avatar eliassebastian avatar eltociear avatar galaxyscitech avatar iredscarf avatar jodumont avatar lyulumos avatar miguelgargallo avatar nicat-dcw avatar nikit-singh avatar ninvfeng avatar quietrocket avatar tsui66 avatar vikas5914 avatar xiangchen888 avatar xiexin12138 avatar yujian920 avatar yzh990918 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anse's Issues

Words breaks at the end of line

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the bug

The text in the StreamableText component is currently using the "break-all" class, which results in words being split between lines and can create a poor user experience. To address this issue, the "break-words" class can be used. I have already made the necessary changes on a fork and can create a pull request if necessary.

What provider are you using?

No response

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Log message is too large. The maximum length is 4096 bytes.

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the bug

When requesting /api/handle/provider-openai, the body parameter callProviderHandler should have the following structure:
{ "conversationId": "id_1686782349466", "conversationType": "chat_continuous", "botId": "chat_continuous", "globalSettings": { "baseUrl": "https://api.xxx.co/", "model": "gpt-3.5-turbo-16k", "maxTokens": 2048, "temperature": 0.7, "top_p": 1, "apiKey": "xxxxx" }, "botSettings": {}, "prompt": "hi", "messages": [ { "role": "user", "content": "xxxxxx..." } ] }
If the length of themessages.content string exceeds 4096 bytes, an error will occur.

What provider are you using?

OpenAI

What prompt did you enter?

When prompt length exceeds 4096 bytes

Console Logs

image

Participation

  • I am willing to submit a pull request for this issue.

I hope to increase conversation sharing.

Describe the feature

I hope to increase conversation sharing.

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

There is an exception in the drop-down box to switch languages

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the bug

image

What provider are you using?

None

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

BUG: `context_length_exceeded` issue & `Max History Message Size` setting DOES NOT seem to WORK

What operating system are you using?

Mac

What browser are you using?

Safari, Chrome

Describe the bug

When I use the OpenAI API to chat for a period of time, the problem of exceeding the token limit occurs. Even after clearing all history, the problem STILL exists.

When switching to another newly created blank conversation, it seems that the historical messages of other conversations will also be sent together. The error that the previous conversation exceeded the token limit will affect this new conversation.

The Max History Message Size setting DOES NOT seem to take effect.

截屏2023-09-15 下午12 06 00

What provider are you using?

OpenAI

What prompt did you enter?

(No matter what is ...)

Console Logs

Error: This model's maximum context length is 4097 tokens. However, you requested 16332 tokens (13 in the messages, 16319 in the completion). Please reduce the length of the messages or completion.
at (entry.mjs:63:6060)
at (entry.mjs:63:18548)
at (entry.mjs:63:18705)
at (entry.mjs:48:1281)
at (entry.mjs:58:56367)
at (entry.mjs:100:617)

Participation

  • I am willing to submit a pull request for this issue.

Fix: Type field adapted for web computers

What operating system are you using?

Windows

What browser are you using?

FireFox

Describe the bug

Give more space to type and colors when code

imagen

What provider are you using?

OpenAI

What prompt did you enter?

anyone

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

How to Make `ProviderGlobalSettings` Component Support i18n?

Describe the feature

I've added translation text for the Provider (mainly OpenAI) in the files under the src/locale/lang directory. I've also used useI18n in src/providers/openai/index.ts to translate the name and description in globalSettings.

After deployment, the default English display works fine, but when I switch to the Chinese language setting, the ProviderGlobalSettings component's language doesn't get translated into Chinese.

I suspect this might be because the providerOpenAI function performs translation once during initialization and stores the translated strings in an object, rather than dynamically translating during rendering. These translated strings are stored in the provider object and returned as constants. When the page's language setting changes, these stored strings don't automatically update. Interestingly, even when I set the default language to Chinese, the language rendered in the ProviderGlobalSettings component is still English, which is puzzling. I've tried various methods, including storing only the translation keys in src/providers/openai/index.ts and then using useI18n for translation in src/components/settings/SettingsUIComponent.tsx (the result was that the entire SettingsSidebar didn't render at all).

I really like the app you've developed, and I want to contribute to making Anse even better. However, I'm still a noob and would appreciate your guidance. Could you please point me in the right direction for implementing translation in the ProviderGlobalSettings component so that it follows the system settings? Thank you!

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Error: Dynamic require of "workbox-build" is not supported

How is Anse deployed?

Vercel

Describe the bug

I got this error when trying to deploy to Vercel, does anyone know what can be?

Thank you!

error   Dynamic require of "workbox-build" is not supported
  File:
    /vercel/path0/node_modules/vite-plugin-pwa/dist/index.js:6:9
  Code:
    5 |     return require.apply(this, arguments);
    > 6 |   throw Error('Dynamic require of "' + x + '" is not supported');
        |         ^
      7 | });
      9 | // src/context.ts
  Stacktrace:
Error: Dynamic require of "workbox-build" is not supported
    at file:///vercel/path0/node_modules/vite-plugin-pwa/dist/index.js:6:9
    at loadWorkboxBuild (file:///vercel/path0/node_modules/vite-plugin-pwa/dist/index.js:268:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async generateServiceWorker (file:///vercel/path0/node_modules/vite-plugin-pwa/dist/index.js:301:26)
    at async _generateSW (file:///vercel/path0/node_modules/vite-plugin-pwa/dist/index.js:471:5)
    at async Object.handler (file:///vercel/path0/node_modules/vite-plugin-pwa/dist/index.js:602:11)
    at async PluginDriver.hookParallel (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:25234:17)
    at async Object.close (file:///vercel/path0/node_modules/rollup/dist/es/shared/node-entry.js:26486:13)
    at async Module.build (file:///vercel/path0/node_modules/vite/dist/node/chunks/dep-e8f070e8.js:46487:13)
    at async clientBuild (file:///vercel/path0/node_modules/astro/dist/core/build/static-build.js:224:23)
    at async viteBuild (file:///vercel/path0/node_modules/astro/dist/core/build/static-build.js:71:24)
    at async AstroBuilder.build (file:///vercel/path0/node_modules/astro/dist/core/build/index.js:117:27)
    at async AstroBuilder.run (file:///vercel/path0/node_modules/astro/dist/core/build/index.js:149:7)
    at async build (file:///vercel/path0/node_modules/astro/dist/core/build/index.js:37:3)
    at async runCommand (file:///vercel/path0/node_modules/astro/dist/cli/index.js:170:14)
    at async cli (file:///vercel/path0/node_modules/astro/dist/cli/index.js:211:5)
Error: Command "OUTPUT=vercel astro build" exited with 1

Command "OUTPUT=vercel astro build" exited with 1

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Stable Diffusion

What operating system are you using?

windows

What browser are you using?

Edge

Describe the bug

Stable Diffusion 应该怎么配置?
还有对应的一些环境变量,应该怎么配置呢?

What provider are you using?

Others (Specify in description)

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

A desktop build

Describe the feature

a windows desktop build

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

How to set the default API key

Describe the feature

how to set the default API key

Additional context

I don't want people to enter the API, I added it by default so that the openai API is recognized automatically and everyone can chat.

Participation

  • I am willing to submit a pull request for this feature.

Replicate request failing

What operating system are you using?

Mac

What browser are you using?

Safari, Arc, Chromium

Describe the bug

When attempting to use replicate, I will send a prompt through, and the anse app will respond with:
provider_error
Request failed

When I go to my replicate dashboard, it creates the run and completes it though, So I'm not sure why it has trouble communicating that back to Anse.

All other parts of the application are working as expected. The only issue is with the replicate requests themselves.

What provider are you using?

Others (Specify in description)

What prompt did you enter?

"Generate an anime profile picture of cirilia from the Witcher series"

Console Logs

I'm currently not on a computer I can generate a log on, When I get to my personal computer later I can add this.

Participation

  • I am willing to submit a pull request for this issue.

部署到netlify失败

How is Anse deployed?

Netlify

Describe the bug

6:54:00 PM: Netlify Build
6:54:00 PM: ────────────────────────────────────────────────────────────────
6:54:00 PM: ​
6:54:00 PM: ❯ Version
6:54:00 PM: @netlify/build 29.22.5
6:54:00 PM: ​
6:54:00 PM: ❯ Flags
6:54:00 PM: baseRelDir: true
6:54:00 PM: buildId: 652bc4ae412cb35c6b49ef2d
6:54:00 PM: deployId: 652bc4ae412cb35c6b49ef2f
6:54:00 PM: ​
6:54:00 PM: ❯ Current directory
6:54:00 PM: /opt/build/repo
6:54:00 PM: ​
6:54:00 PM: ❯ Config file
6:54:00 PM: /opt/build/repo/netlify.toml
6:54:00 PM: ​
6:54:00 PM: ❯ Context
6:54:00 PM: production
6:54:00 PM: ​
6:54:00 PM: build.command from netlify.toml
6:54:00 PM: ────────────────────────────────────────────────────────────────
6:54:00 PM: ​
6:54:00 PM: $ OUTPUT=netlify astro build
6:54:01 PM: 10:54:01 AM [content] No content directory found. Skipping type generation.
6:54:01 PM: 10:54:01 AM [build] output target: server
6:54:01 PM: 10:54:01 AM [build] deploy adapter: @astrojs/netlify/edge-functions
6:54:01 PM: 10:54:01 AM [build] Collecting build info...
6:54:01 PM: 10:54:01 AM [build] Completed in 332ms.
6:54:01 PM: 10:54:01 AM [build] Building server entrypoints...
6:54:04 PM: 10:54:04 AM [build] Completed in 2.59s.
6:54:04 PM:
6:54:04 PM: building client
6:54:12 PM:
6:54:12 PM: (!) Some chunks are larger than 500 kBs after minification. Consider:
6:54:12 PM: - Using dynamic import() to code-split the application
6:54:12 PM: - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
6:54:12 PM: - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
6:54:14 PM: PWA v0.16.4
6:54:14 PM: mode generateSW
6:54:14 PM: precache 24 entries (1505.28 KiB)
6:54:14 PM: files generated
6:54:14 PM: dist/sw.js
6:54:14 PM: dist/workbox-4de3aa5f.js
6:54:14 PM: Completed in 10.69s.
6:54:14 PM:
6:54:14 PM:
6:54:14 PM: finalizing server assets
6:54:14 PM: 10:54:14 AM [build] Rearranging server assets...
6:54:16 PM: PWA v0.16.4
6:54:16 PM: mode generateSW
6:54:16 PM: precache 25 entries (1567.70 KiB)
6:54:16 PM: files generated
6:54:16 PM: dist/sw.js
6:54:16 PM: dist/workbox-4de3aa5f.js
6:54:17 PM: 10:54:17 AM [build] Server built in 15.96s
6:54:17 PM: 10:54:17 AM [build] Complete!
6:54:17 PM: ​
6:54:17 PM: (build.command completed in 16.9s)
6:54:17 PM: ​
6:54:17 PM: Edge Functions bundling
6:54:17 PM: ────────────────────────────────────────────────────────────────
6:54:17 PM: ​
6:54:17 PM: Packaging Edge Functions from .netlify/edge-functions directory:
6:54:17 PM: - _empty-middleware
6:54:17 PM: - entry
6:54:17 PM: - renderers
6:54:17 PM: error: Uncaught (in promise) Error: Error: Could not find file: file:///opt/build/repo/.netlify/edge-functions/chunks/astro.8ffde600.mjs
6:54:17 PM: const ret = new Error(getStringFromWasm0(arg0, arg1));
6:54:17 PM: ^
6:54:17 PM: at __wbg_new_15d3966e9981a196 (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:417:19)
6:54:17 PM: at (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:93412)
6:54:17 PM: at (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:1499594)
6:54:17 PM: at (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:1938165)
6:54:17 PM: at __wbg_adapter_40 (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:231:6)
6:54:17 PM: at real (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:215:14)
6:54:17 PM: at eventLoopTick (ext:core/01_core.js:183:11)
6:54:17 PM: ​
6:54:17 PM: Bundling of edge function failed
6:54:17 PM: ────────────────────────────────────────────────────────────────
6:54:17 PM: ​
6:54:17 PM: Error message
6:54:17 PM: Command failed with exit code 1: deno run --allow-all --no-config --import-map=/opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/import_map.json --quiet /opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/bundle.ts {"basePath":"/opt/build/repo","destPath":"/tmp/edge-652bc4ae412cb35c6b49ef2f/d917611b-38de-4fcc-9363-7e81d5b6ce9d.eszip","externals":[],"functions":[{"name":"_empty-middleware","path":"/opt/build/repo/.netlify/edge-functions/_empty-middleware.mjs"},{"name":"entry","path":"/opt/build/repo/.netlify/edge-functions/entry.js"},{"name":"renderers","path":"/opt/build/repo/.netlify/edge-functions/renderers.mjs"}],"importMapData":"{"imports":{"@netlify/edge-functions":"https://edge.netlify.com/v1/index.ts\",\"netlify:edge\":\"https://edge.netlify.com/v1/index.ts?v=legacy\"},\"scopes\":{}}"} (https://ntl.fyi/exit-code-1)
6:54:17 PM: error: Uncaught (in promise) Error: Error: Could not find file: file:///opt/build/repo/.netlify/edge-functions/chunks/astro.8ffde600.mjs
6:54:17 PM: const ret = new Error(getStringFromWasm0(arg0, arg1));
6:54:17 PM: ^
6:54:17 PM: at __wbg_new_15d3966e9981a196 (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:417:19)
6:54:17 PM: at (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:93412)
6:54:17 PM: at (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:1499594)
6:54:17 PM: at (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm_bg.wasm:1:1938165)
6:54:17 PM: at __wbg_adapter_40 (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:231:6)
6:54:17 PM: at real (file:///opt/buildhome/node-deps/node_modules/@netlify/edge-bundler/deno/vendor/deno.land/x/[email protected]/eszip_wasm.generated.js:215:14)
6:54:17 PM: at eventLoopTick (ext:core/01_core.js:183:11)
6:54:17 PM: ​
6:54:17 PM: Error location
6:54:17 PM: While bundling edge function
6:54:17 PM: ​
6:54:17 PM: Resolved config
6:54:17 PM: build:
6:54:17 PM: command: OUTPUT=netlify astro build
6:54:17 PM: commandOrigin: config
6:54:17 PM: environment:
6:54:17 PM: - NETLIFY_USE_PNPM
6:54:17 PM: - NODE_VERSION
6:54:17 PM: publish: /opt/build/repo/dist
6:54:17 PM: publishOrigin: config
6:54:17 PM: headers:
6:54:17 PM: - for: /manifest.webmanifest
6:54:17 PM: values:
6:54:17 PM: Content-Type: application/manifest+json
6:54:17 PM: headersOrigin: config
6:54:17 PM: redirects:
6:54:17 PM: - from: /
6:54:17 PM: status: 200
6:54:17 PM: to: /.netlify/edge-functions/entry
6:54:17 PM: - from: /api/handle/:provider
6:54:17 PM: status: 200
6:54:17 PM: to: /.netlify/edge-functions/entry
6:54:19 PM: Build failed due to a user error: Build script returned non-zero exit code: 2
6:54:20 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
6:54:20 PM: Failing build: Failed to build site
6:54:20 PM: Finished processing build request in 44.582s

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Prevent Markdown code block rendering execution

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the bug

image

What provider are you using?

None

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Add http optional enable for API request

Describe the feature

Am current test on my own chat models but with same openai API.

on terminal, the request is ok, the model runs on another PC both in a same LAN.

image

But anse app not able to get connected, obvious this is because of https cert invalid.

How to solve in such situation?

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Cloudflare Pages Deployment Issue - Uncaught ReferenceError: window is not defined

How is Anse deployed?

Others (Specify in description)

Describe the bug

Issue:
I'm trying to deploy the project using Cloudflare Pages, and I have installed @astrojs/cloudflare ^6.2.4 and made the following changes to the astro.config.mjs file:

const envAdapter = () => {
  if (process.env.OUTPUT === 'vercel') {
    return vercel()
  } else if (process.env.OUTPUT === 'netlify') {
    return netlify()
  } else if (process.env.OUTPUT === 'cloudflare') {
    return cloudflare()
  } else {
    return node({
      mode: 'standalone',
    })
  }
}

However, the deployment is failing with the following error message: Error: Failed to publish your Function. Got error: Uncaught ReferenceError: window is not defined at functionsWorker-0.8414097395681288.js:2597:8.

It seems that the issue is caused by the use of a window hook in the server-side context, and I've tried a few ways to fix it but failed. Any ideas?

Console Logs

2023-05-12T02:16:22.614053Z Cloning repository...
2023-05-12T02:16:23.439496Z From https://github.com/jwjoel/anse
2023-05-12T02:16:23.44015Z * branch 3f8e873 -> FETCH_HEAD
2023-05-12T02:16:23.440343Z
2023-05-12T02:16:23.517256Z HEAD is now at 3f8e873 fix: issues
2023-05-12T02:16:23.517877Z
2023-05-12T02:16:23.62398Z
2023-05-12T02:16:23.652002Z Success: Finished cloning repository files
2023-05-12T02:16:24.231949Z Installing dependencies
2023-05-12T02:16:24.239642Z Python version set to 2.7
2023-05-12T02:16:27.179096Z Downloading and installing node v20.1.0...
2023-05-12T02:16:27.43792Z Downloading https://nodejs.org/dist/v20.1.0/node-v20.1.0-linux-x64.tar.xz...
2023-05-12T02:16:27.769552Z Computing checksum with sha256sum
2023-05-12T02:16:27.907887Z Checksums matched!
2023-05-12T02:16:33.070072Z Now using node v20.1.0 (npm v9.6.4)
2023-05-12T02:16:33.308799Z Started restoring cached build plugins
2023-05-12T02:16:33.317739Z Finished restoring cached build plugins
2023-05-12T02:16:33.6865Z Attempting ruby version 2.7.1, read from environment
2023-05-12T02:16:35.09395Z Using /opt/buildhome/.rvm/gems/ruby-2.7.1
2023-05-12T02:16:36.017782Z Using PHP version 5.6
2023-05-12T02:16:36.103867Z 5.2.5 is already installed.
2023-05-12T02:16:36.119458Z Using Swift version 5.2.5
2023-05-12T02:16:36.119871Z Started restoring cached node modules
2023-05-12T02:16:36.130823Z Finished restoring cached node modules
2023-05-12T02:16:36.76132Z Installing NPM modules using NPM version 9.6.4
2023-05-12T02:16:43.066541Z npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
2023-05-12T02:16:47.11671Z npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
2023-05-12T02:16:53.511306Z
2023-05-12T02:16:53.511834Z > [email protected] postinstall
2023-05-12T02:16:53.512012Z > npx simple-git-hooks
2023-05-12T02:16:53.512168Z
2023-05-12T02:16:54.275686Z [INFO] Successfully set the pre-commit with command: pnpm lint-staged
2023-05-12T02:16:54.278024Z [INFO] Successfully set all git hooks
2023-05-12T02:16:54.34621Z
2023-05-12T02:16:54.346508Z added 1479 packages, and audited 1480 packages in 16s
2023-05-12T02:16:54.346711Z
2023-05-12T02:16:54.346964Z 378 packages are looking for funding
2023-05-12T02:16:54.347116Z run npm fund for details
2023-05-12T02:16:54.355073Z
2023-05-12T02:16:54.355297Z 7 moderate severity vulnerabilities
2023-05-12T02:16:54.355487Z
2023-05-12T02:16:54.355666Z To address all issues (including breaking changes), run:
2023-05-12T02:16:54.355825Z npm audit fix --force
2023-05-12T02:16:54.355981Z
2023-05-12T02:16:54.356132Z Run npm audit for details.
2023-05-12T02:16:54.374587Z NPM modules installed
2023-05-12T02:16:54.436024Z Installing Hugo 0.54.0
2023-05-12T02:16:55.096087Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-05-12T02:16:55.098589Z Started restoring cached go cache
2023-05-12T02:16:55.111859Z Finished restoring cached go cache
2023-05-12T02:16:55.196544Z go version go1.14.4 linux/amd64
2023-05-12T02:16:55.209089Z go version go1.14.4 linux/amd64
2023-05-12T02:16:55.212555Z Installing missing commands
2023-05-12T02:16:55.212762Z Verify run directory
2023-05-12T02:16:55.212901Z Executing user command: npm run build
2023-05-12T02:16:55.853778Z
2023-05-12T02:16:55.854176Z > [email protected] build
2023-05-12T02:16:55.854742Z > astro build
2023-05-12T02:16:55.855233Z
2023-05-12T02:16:58.132196Z 02:16:58 AM [content] No content directory found. Skipping type generation.
2023-05-12T02:16:58.132985Z 02:16:58 AM [build] output target: server
2023-05-12T02:16:58.133353Z 02:16:58 AM [build] deploy adapter: @astrojs/cloudflare
2023-05-12T02:16:58.133674Z 02:16:58 AM [build] Collecting build info...
2023-05-12T02:16:58.133921Z 02:16:58 AM [build] Completed in 495ms.
2023-05-12T02:16:58.134749Z 02:16:58 AM [build] Building server entrypoints...
2023-05-12T02:17:01.173419Z 02:17:01 AM [build] Completed in 3.04s.
2023-05-12T02:17:01.174281Z
2023-05-12T02:17:01.174492Z building client
2023-05-12T02:17:10.523885Z
2023-05-12T02:17:10.524362Z (!) Some chunks are larger than 500 kBs after minification. Consider:
2023-05-12T02:17:10.524555Z - Using dynamic import() to code-split the application
2023-05-12T02:17:10.524718Z - Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
2023-05-12T02:17:10.524838Z - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
2023-05-12T02:17:12.472355Z
2023-05-12T02:17:12.472904Z PWA v0.14.7
2023-05-12T02:17:12.473082Z mode generateSW
2023-05-12T02:17:12.47323Z precache 28 entries (1339.00 KiB)
2023-05-12T02:17:12.473375Z files generated
2023-05-12T02:17:12.47352Z dist/sw.js
2023-05-12T02:17:12.473671Z dist/workbox-3625d7b0.js
2023-05-12T02:17:12.473816Z Completed in 11.29s.
2023-05-12T02:17:12.473946Z
2023-05-12T02:17:12.482333Z
2023-05-12T02:17:12.482573Z finalizing server assets
2023-05-12T02:17:12.48274Z
2023-05-12T02:17:12.482883Z 02:17:12 AM [build] Rearranging server assets...
2023-05-12T02:17:12.571858Z 02:17:12 AM [build] Server built in 14.93s
2023-05-12T02:17:12.572146Z 02:17:12 AM [build] Complete!
2023-05-12T02:17:12.611285Z Finished
2023-05-12T02:17:12.611797Z Found _worker.js in output directory. Uploading.
2023-05-12T02:17:13.275882Z ✨ Compiled Worker successfully
2023-05-12T02:17:13.350176Z Found _routes.json in output directory. Uploading.
2023-05-12T02:17:13.366708Z Validating asset output directory
2023-05-12T02:17:13.954359Z Deploying your site to Cloudflare's global network...
2023-05-12T02:17:16.734752Z Uploading... (89/89)
2023-05-12T02:17:16.735493Z ✨ Success! Uploaded 0 files (89 already uploaded) (0.39 sec)
2023-05-12T02:17:16.735699Z
2023-05-12T02:17:17.220644Z ✨ Upload complete!
2023-05-12T02:17:18.850346Z Success: Assets published!
2023-05-12T02:17:19.791748Z Error: Failed to publish your Function. Got error: Uncaught ReferenceError: window is not defined
at functionsWorker-0.8414097395681288.js:2597:8

Participation

  • I am willing to submit a pull request for this issue.

Display unescaped HTML code when `showRawCode` is true.

What operating system are you using?

Windows

What browser are you using?

Chrome

Describe the bug

When clicking the showRawCode button, the original text returned by GPT should be displayed. However, because the code directly sets innerHTML to the text returned by GPT, if the text returned by GPT contains HTML tags, they will be displayed directly. This is not in line with the original intention of this feature and is not secure.

Screenshot with showRawCode off

image

Screenshot with showRawCode on

image

What provider are you using?

OpenAI

What prompt did you enter?

Give me some html code.

Console Logs

Participation

  • I am willing to submit a pull request for this issue.

Chat content rendering is abnormal.

How is Anse deployed?

Docker

Describe the bug

If the question content starts with a code, the conversation message won't render correctly.

Input

image

Output

image

Console Logs

Docker log

2023-05-25 09:54:12 callProviderHandler {
2023-05-25 09:54:12   conversationId: 'temp',
2023-05-25 09:54:12   conversationType: 'chat_single',
2023-05-25 09:54:12   botId: 'temp',
2023-05-25 09:54:12   globalSettings: {
2023-05-25 09:54:12     baseUrl: 'https://api.openai.com',
2023-05-25 09:54:12     model: 'gpt-3.5-turbo-0301',
2023-05-25 09:54:12     maxTokens: 2048,
2023-05-25 09:54:12     temperature: 0.7,
2023-05-25 09:54:12     top_p: 1,
2023-05-25 09:54:12     apiKey: '****'
2023-05-25 09:54:12   },
2023-05-25 09:54:12   botSettings: {},
2023-05-25 09:54:12   prompt: 'Summarize a short and relevant title of input with no more than 5 words.\n' +
2023-05-25 09:54:12     'Rules:\n' +
2023-05-25 09:54:12     '1. Must use the same language as input.\n' +
2023-05-25 09:54:12     '2. Output the title directly, do not add any other content.\n' +
2023-05-25 09:54:12     'The input is:\n' +
2023-05-25 09:54:12     '<div class="h-100%  flex flex-col color-base">\n' +
2023-05-25 09:54:12     '如何解释这行代码',
2023-05-25 09:54:12   messages: []
2023-05-25 09:54:12 }

Participation

  • I am willing to submit a pull request for this issue.

Add environment variables

Describe the feature

我无法理解这个需求为什么一直不做, 假如没有环境变量,那么我们必须直接通过微信等工具发送key给每一个用户, 这怎么可能呢?
所以, 结论就是根本无法在公司内部使用,
到目前为止 只是个人的玩具罢了

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

plugin support

Describe the feature

Hey guys,
Trying to work out where I can find supported plugins and how to install them? Can't see any documentation on this other than its initial mention at the beginning of the readme

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Extremely slow responses with GPT-4 API

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the bug

Having extremely slow streaming responses using my GPT-4 API. Using the Anse app, not self hosted. Is this normal or a known issue? Thanks!

iCloud link to a video as I couldn’t upload: https://www.icloud.com/sharedalbum/#B11GWZuqDRqsjip

What provider are you using?

OpenAI

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Cloudflare pages compatibility

Describe the feature

Your project is amazing thank you for your hard work. Is it possible to make this compatible with cloudflare pages? When I try to deploy on cloudflare pages I received the below error:

Here is the log.from cloudflare pages:

2023-05-08T02:32:02.220129Z Cloning repository...
2023-05-08T02:32:03.048474Z Frorm:
2023-05-08T02:32:03.049126Z * branch 897b159 -> FETCH_HEAD
2023-05-08T02:32:03.049327Z
2023-05-08T02:32:03.120574Z HEAD is now at 897b159 chore: update README.md
2023-05-08T02:32:03.121197Z
2023-05-08T02:32:03.230809Z
2023-05-08T02:32:03.259586Z Success: Finished cloning repository files
2023-05-08T02:32:03.897772Z Installing dependencies
2023-05-08T02:32:03.90598Z Python version set to 2.7
2023-05-08T02:32:07.183307Z v12.18.0 is already installed.
2023-05-08T02:32:08.286041Z Now using node v12.18.0 (npm v6.14.4)
2023-05-08T02:32:08.457376Z Started restoring cached build plugins
2023-05-08T02:32:08.469211Z Finished restoring cached build plugins
2023-05-08T02:32:08.871158Z Attempting ruby version 2.7.1, read from environment
2023-05-08T02:32:10.27255Z Using /opt/buildhome/.rvm/gems/ruby-2.7.1
2023-05-08T02:32:11.211517Z Using PHP version 5.6
2023-05-08T02:32:11.300666Z 5.2.5 is already installed.
2023-05-08T02:32:11.316514Z Using Swift version 5.2.5
2023-05-08T02:32:11.317206Z Started restoring cached node modules
2023-05-08T02:32:11.328561Z Finished restoring cached node modules
2023-05-08T02:32:11.645745Z Installing NPM modules using NPM version 6.14.4
2023-05-08T02:32:20.186412Z npm WARN deprecated [email protected]: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
2023-05-08T02:32:31.076707Z npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
2023-05-08T02:32:53.506306Z
2023-05-08T02:32:53.506785Z > [email protected] postinstall /opt/buildhome/repo/node_modules/esbuild
2023-05-08T02:32:53.506944Z > node install.js
2023-05-08T02:32:53.507065Z
2023-05-08T02:32:53.932147Z
2023-05-08T02:32:53.932504Z > [email protected] postinstall /opt/buildhome/repo/node_modules/vite/node_modules/esbuild
2023-05-08T02:32:53.932665Z > node install.js
2023-05-08T02:32:53.932816Z
2023-05-08T02:32:54.808367Z npm notice created a lockfile as package-lock.json. You should commit this file.
2023-05-08T02:32:54.809619Z npm WARN notsup Unsupported engine for @astrojs/[email protected]: wanted: {"node":">=16.12.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.809896Z npm WARN notsup Not compatible with your version of node/npm: @astrojs/[email protected]
2023-05-08T02:32:54.810038Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=16.12.0","npm":">=6.14.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.810266Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.810414Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.18"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.810532Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.810638Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.810759Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.810878Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.0.0 || ^16.0.0 || >=18.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.810989Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.811094Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.8112Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.811324Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/esbuild/node_modules/@esbuild/linux-loong64):
2023-05-08T02:32:54.811449Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"loong64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.811557Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/esbuild/node_modules/@esbuild/android-arm):
2023-05-08T02:32:54.81166Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.811777Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-android-arm64):
2023-05-08T02:32:54.811882Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"android","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.811989Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-darwin-arm64):
2023-05-08T02:32:54.812123Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.812243Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-darwin-64):
2023-05-08T02:32:54.812404Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.812518Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-android-64):
2023-05-08T02:32:54.812624Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"android","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.812728Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-freebsd-arm64):
2023-05-08T02:32:54.81283Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"freebsd","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.812945Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-freebsd-64):
2023-05-08T02:32:54.813052Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"freebsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.813174Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-linux-32):
2023-05-08T02:32:54.813291Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.813415Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-linux-mips64le):
2023-05-08T02:32:54.813523Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"mips64el"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.813627Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-linux-arm64):
2023-05-08T02:32:54.81373Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.814327Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-linux-riscv64):
2023-05-08T02:32:54.814627Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"riscv64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.815024Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-linux-arm):
2023-05-08T02:32:54.815169Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.815297Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-linux-s390x):
2023-05-08T02:32:54.815422Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"s390x"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.815532Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-netbsd-64):
2023-05-08T02:32:54.815639Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"netbsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.815744Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-linux-ppc64le):
2023-05-08T02:32:54.815847Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"linux","arch":"ppc64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.815952Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-openbsd-64):
2023-05-08T02:32:54.816056Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"openbsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.816159Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-sunos-64):
2023-05-08T02:32:54.816272Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"sunos","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.816415Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-windows-32):
2023-05-08T02:32:54.816534Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.816643Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-windows-64):
2023-05-08T02:32:54.816757Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.81687Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/esbuild/node_modules/esbuild-windows-arm64):
2023-05-08T02:32:54.816977Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"win32","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.817082Z npm WARN notsup Unsupported engine for @vercel/[email protected]: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.817186Z npm WARN notsup Not compatible with your version of node/npm: @vercel/[email protected]
2023-05-08T02:32:54.817349Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">= 14"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.817467Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.817606Z npm WARN notsup Unsupported engine for @astrojs/[email protected]: wanted: {"node":">=16.12.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.817796Z npm WARN notsup Not compatible with your version of node/npm: @astrojs/[email protected]
2023-05-08T02:32:54.819121Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.819257Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.819383Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.819496Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.819604Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.819709Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.819813Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=12.20"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.819916Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.820029Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.18.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.820139Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.820258Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.15.0 || >=16.0.0","pnpm":">=7.14.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.820391Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.820504Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.18.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.820622Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.820732Z npm WARN notsup Unsupported engine for @pkgr/[email protected]: wanted: {"node":"^12.20.0 || ^14.18.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.820839Z npm WARN notsup Not compatible with your version of node/npm: @pkgr/[email protected]
2023-05-08T02:32:54.820972Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.16"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.821175Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.821298Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.16"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.821417Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.821535Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.16"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.821644Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.821748Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.18.0 || ^16.14.0 || >=18.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.821861Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.821974Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.822082Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.822186Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.18.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.822313Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.822445Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.822554Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.822661Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.822817Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.82295Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.823058Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.823276Z npm WARN notsup Unsupported engine for @astrojs/[email protected]: wanted: {"node":">=16.12.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.823501Z npm WARN notsup Not compatible with your version of node/npm: @astrojs/[email protected]
2023-05-08T02:32:54.823699Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.82388Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.824005Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=12.20"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.824118Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.824227Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
2023-05-08T02:32:54.824353Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.824474Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.824583Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.824706Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.824834Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.824946Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=12.20.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.825056Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.825164Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.82527Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.82539Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.825506Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.825625Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.20.0 || ^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.825736Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.825875Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14.18.0","npm":">=8.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.826004Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.826119Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/darwin-arm64):
2023-05-08T02:32:54.826227Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"darwin","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.826365Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/android-x64):
2023-05-08T02:32:54.826497Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"android","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.826613Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/android-arm):
2023-05-08T02:32:54.826722Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"android","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.826842Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-arm):
2023-05-08T02:32:54.826972Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"arm"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.827086Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/darwin-x64):
2023-05-08T02:32:54.827198Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"darwin","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.827315Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/android-arm64):
2023-05-08T02:32:54.827466Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"android","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.827581Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/freebsd-arm64):
2023-05-08T02:32:54.827694Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"freebsd","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.827825Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/freebsd-x64):
2023-05-08T02:32:54.827949Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"freebsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.82806Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-arm64):
2023-05-08T02:32:54.82817Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.828275Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-ia32):
2023-05-08T02:32:54.828408Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.828521Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-mips64el):
2023-05-08T02:32:54.828639Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"mips64el"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.82875Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-riscv64):
2023-05-08T02:32:54.828936Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"riscv64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.829087Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-s390x):
2023-05-08T02:32:54.829206Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"s390x"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.829324Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-loong64):
2023-05-08T02:32:54.829453Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"loong64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.829577Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/netbsd-x64):
2023-05-08T02:32:54.829684Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"netbsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.829797Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/linux-ppc64):
2023-05-08T02:32:54.829907Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"linux","arch":"ppc64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.830012Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/openbsd-x64):
2023-05-08T02:32:54.830121Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"openbsd","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.830228Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/sunos-x64):
2023-05-08T02:32:54.830356Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"sunos","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.83047Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/win32-arm64):
2023-05-08T02:32:54.830576Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"win32","arch":"arm64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.830681Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/win32-ia32):
2023-05-08T02:32:54.830799Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"win32","arch":"ia32"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.830911Z npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @esbuild/[email protected] (node_modules/vite/node_modules/esbuild/node_modules/@esbuild/win32-x64):
2023-05-08T02:32:54.831018Z npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for @esbuild/[email protected]: wanted {"os":"win32","arch":"x64"} (current: {"os":"linux","arch":"x64"})
2023-05-08T02:32:54.831128Z npm WARN notsup Unsupported engine for @eslint-community/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.831236Z npm WARN notsup Not compatible with your version of node/npm: @eslint-community/[email protected]
2023-05-08T02:32:54.831353Z npm WARN notsup Unsupported engine for @eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.831464Z npm WARN notsup Not compatible with your version of node/npm: @eslint/[email protected]
2023-05-08T02:32:54.831571Z npm WARN notsup Unsupported engine for @eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.831676Z npm WARN notsup Not compatible with your version of node/npm: @eslint/[email protected]
2023-05-08T02:32:54.831787Z npm WARN notsup Unsupported engine for @humanwhocodes/[email protected]: wanted: {"node":">=12.22"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.831898Z npm WARN notsup Not compatible with your version of node/npm: @humanwhocodes/[email protected]
2023-05-08T02:32:54.832004Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.832108Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.832212Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.832358Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.832473Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.832579Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.832682Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.832798Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.832907Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.18.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.833013Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.833122Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.833235Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.833354Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.833467Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.833577Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.833684Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.833874Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.83403Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.834155Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=12.22.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.834262Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.834384Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.834702Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.834902Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.835061Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.835184Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.835299Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.835427Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.835572Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.835693Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.835825Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.835943Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.836061Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.836175Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.836294Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.836436Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.836556Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.836663Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.836801Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.836921Z npm WARN notsup Unsupported engine for @typescript-eslint/[email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.837027Z npm WARN notsup Not compatible with your version of node/npm: @typescript-eslint/[email protected]
2023-05-08T02:32:54.837131Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.837252Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.837389Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.837513Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.837627Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.18.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.837732Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.837846Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.18.0 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.837952Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.838072Z npm WARN notsup Unsupported engine for @unocss/[email protected]: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.838186Z npm WARN notsup Not compatible with your version of node/npm: @unocss/[email protected]
2023-05-08T02:32:54.838292Z npm WARN notsup Unsupported engine for @unocss/[email protected]: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.83842Z npm WARN notsup Not compatible with your version of node/npm: @unocss/[email protected]
2023-05-08T02:32:54.838584Z npm WARN notsup Unsupported engine for @rollup/[email protected]: wanted: {"node":">=14.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.838706Z npm WARN notsup Not compatible with your version of node/npm: @rollup/[email protected]
2023-05-08T02:32:54.838826Z npm WARN notsup Unsupported engine for @unocss/[email protected]: wanted: {"node":">=14"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.838946Z npm WARN notsup Not compatible with your version of node/npm: @unocss/[email protected]
2023-05-08T02:32:54.839065Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.8392Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.839316Z npm WARN notsup Unsupported engine for @rollup/[email protected]: wanted: {"node":">=14.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.839463Z npm WARN notsup Not compatible with your version of node/npm: @rollup/[email protected]
2023-05-08T02:32:54.839574Z npm WARN notsup Unsupported engine for @rollup/[email protected]: wanted: {"node":">=14.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.8397Z npm WARN notsup Not compatible with your version of node/npm: @rollup/[email protected]
2023-05-08T02:32:54.839823Z npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^14.13.1 || >=16.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.839941Z npm WARN notsup Not compatible with your version of node/npm: [email protected]
2023-05-08T02:32:54.840054Z npm WARN notsup Unsupported engine for @rollup/[email protected]: wanted: {"node":">=14.0.0"} (current: {"node":"12.18.0","npm":"6.14.4"})
2023-05-08T02:32:54.840166Z npm WARN notsup Not compatible with your version of node/npm: @rollup/[email protected]
2023-05-08T02:32:54.840281Z npm WARN @vercel/[email protected] requires a peer of react@^16.8||^17||^18 but none is installed. You must install peer dependencies yourself.
2023-05-08T02:32:54.840412Z npm WARN @apideck/[email protected] requires a peer of ajv@>=8 but none is installed. You must install peer dependencies yourself.
2023-05-08T02:32:54.840531Z npm WARN @rollup/[email protected] requires a peer of rollup@^1.20.0||^2.0.0 but none is installed. You must install peer dependencies yourself.
2023-05-08T02:32:54.840643Z npm WARN @rollup/[email protected] requires a peer of rollup@^1.20.0||^2.0.0 but none is installed. You must install peer dependencies yourself.
2023-05-08T02:32:54.840762Z npm WARN @rollup/[email protected] requires a peer of rollup@^1.20.0||^2.0.0 but none is installed. You must install peer dependencies yourself.
2023-05-08T02:32:54.840955Z npm WARN @rollup/[email protected] requires a peer of rollup@^1.20.0||^2.0.0 but none is installed. You must install peer dependencies yourself.
2023-05-08T02:32:54.841068Z npm WARN [email protected] requires a peer of rollup@^2.0.0 but none is installed. You must install peer dependencies yourself.
2023-05-08T02:32:54.841229Z npm WARN [email protected] No repository field.
2023-05-08T02:32:54.841461Z npm WARN [email protected] No license field.
2023-05-08T02:32:54.841753Z
2023-05-08T02:32:54.842023Z added 1508 packages from 587 contributors and audited 1559 packages in 41.467s
2023-05-08T02:32:55.404835Z
2023-05-08T02:32:55.405538Z 369 packages are looking for funding
2023-05-08T02:32:55.405735Z run npm fund for details
2023-05-08T02:32:55.405878Z
2023-05-08T02:32:55.40601Z found 2 moderate severity vulnerabilities
2023-05-08T02:32:55.406122Z run npm audit fix to fix them, or npm audit for details
2023-05-08T02:32:55.445617Z NPM modules installed
2023-05-08T02:32:55.512023Z Installing Hugo 0.54.0
2023-05-08T02:32:56.376746Z Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-05-08T02:32:56.380431Z Started restoring cached go cache
2023-05-08T02:32:56.395039Z Finished restoring cached go cache
2023-05-08T02:32:56.481683Z go version go1.14.4 linux/amd64
2023-05-08T02:32:56.495094Z go version go1.14.4 linux/amd64
2023-05-08T02:32:56.499546Z Installing missing commands
2023-05-08T02:32:56.499791Z Verify run directory
2023-05-08T02:32:56.499928Z Executing user command: npm run build
2023-05-08T02:32:56.973969Z
2023-05-08T02:32:56.974289Z > [email protected] build /opt/buildhome/repo
2023-05-08T02:32:56.974473Z > astro build
2023-05-08T02:32:56.974615Z
2023-05-08T02:32:57.049137Z (node:1273) ExperimentalWarning: The ESM module loader is experimental.
2023-05-08T02:32:57.098208Z Node.js v12.18.0 is not supported by Astro!
2023-05-08T02:32:57.098535Z Please upgrade Node.js to a supported version: ">=16.12.0"
2023-05-08T02:32:57.098695Z
2023-05-08T02:32:57.109353Z npm ERR! code ELIFECYCLE
2023-05-08T02:32:57.109619Z npm ERR! errno 1
2023-05-08T02:32:57.110244Z npm ERR! [email protected] build: astro build
2023-05-08T02:32:57.110456Z npm ERR! Exit status 1
2023-05-08T02:32:57.110619Z npm ERR!
2023-05-08T02:32:57.110773Z npm ERR! Failed at the [email protected] build script.
2023-05-08T02:32:57.1109Z npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2023-05-08T02:32:57.165899Z
2023-05-08T02:32:57.166605Z npm ERR! A complete log of this run can be found in:
2023-05-08T02:32:57.167118Z npm ERR! /opt/buildhome/.npm/_logs/2023-05-08T02_32_57_110Z-debug.log
2023-05-08T02:32:57.17699Z Failed: build command exited with code: 1
2023-05-08T02:32:58.278607Z Failed: error occurred while running build command

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

404 The requested resource could not be found.

What operating system are you using?

Windows

What browser are you using?

Chrome

Describe the bug

how to deal with 404
The requested resource could not be found. on stable dufsion

What provider are you using?

Stable Diffusion

What prompt did you enter?

how to deal with 404
The requested resource could not be found. on stable dufsion

Console Logs

how to deal with 404
The requested resource could not be found. on stable dufsion

Participation

  • I am willing to submit a pull request for this issue.

Allow for the configuration of the length of historical messages to circumvent the constraints imposed by the MaxTokens parameter.

Describe the feature

DeepinScreenshot_select-area_20230626143031

Upon observation, I have come to the realization that after a certain duration of usage, it becomes necessary to delete historical messages once they exceed approximately ten in number. Unfortunately, the current configuration does not provide a solution to address this issue adequately.

Would it be possible to introduce a feature that allows for customization of the quantity of historical messages?

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

When can we add code highlighting display?

Describe the feature

This is a common requirement and we hope to add this feature.

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

The mechanism for saving conversations is not robust

What operating system are you using?

Windows

What browser are you using?

Chrome

Describe the bug

Sometimes, a few conversations on the left sidebar can be clicked, but clicking on them will have no effect. I have experienced this several times, but unfortunately, I still cannot reproduce this bug. In fact, I checked the indexedDB and find those conversations not in the messages db.

I think this issue may be related to the fact that messages and conversation metadata are saved in two different indexedDBs. This may work fine most of the time, but if the data in these two indexedDBs becomes inconsistent (possibly due to interruption during the storage process), then those "zombie conversations" cannot be deleted unless I manually check and modify indexedDB in DevTools.

What provider are you using?

OpenAI

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

PWA can work on Netlify deploys

Describe the feature

By just change the way to inject Service Worker, Anse can deploy on Netlify with PWA enabled. Just like #419. May I PR similarly?

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Can I access the internet if I have a gpt4?

Describe the feature

Doesn't gpt4 have a plugin that allows you to access the web to get the latest news? can anse add this feature as well?

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

[Voice function] Add voice function

Describe the feature

  • Adding Microsoft's voice API can do many things, such as meeting summaries, talking and interacting, etc

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Password implementation

Describe the feature

Password implementation according the .env and Readme features, I put a password, but nothing worked at the beginnning, after adding the necessary files, I make it work!

Additional context

I need this modification for my internal version online, so, I decided to implement it from the past contribution!

Participation

  • I am willing to submit a pull request for this feature.

`requestWithBackend` always defaults to `true`, not as expected

How is Anse deployed?

Node

Describe the bug

As is commented in src/types/app.ts:

export interface GeneralSettings {
  /** Default request directly, can choose to request via proxy */
  requestWithBackend: boolean
}

And in src\components\settings\AppGeneralSettings.tsx:

<SettingsUIComponent
  value={() => props.settingsValue()[item.key] || false}
/>

I think the default value of requestWithBackend was intended to be false. But for now it always be true after mounting. I have tried to troubleshoot the issue by console.logging everything but still failed. I only found that resetting checked to false after first rendering solves (but I think there may be better ways).

This solves the problem (in inelegant way):

export const Toggle = (inputProps: Props) => {
  const props = mergeProps({}, inputProps)
  let hack_FirstTimeRender = true
  const [state, send] = useMachine(zagSwitch.machine({
    id: createUniqueId(),
    readOnly: props.readOnly,
    value: props.value(),
    onChange({ checked }) {
      if (hack_FirstTimeRender) {
        hack_FirstTimeRender = false
+       props.setValue(false)
        return
      }
      props.setValue(!checked)
    },
  }))

It seems the FirstTimeRender hack doesn't work?

Or maybe it is a bug of zagSwitch, which always set checked to true after components being mounted? I'm really confused. If you have any ideas please let me know, thanks!

Participation

  • I am willing to submit a pull request for this issue.

App sends user's OpenAPI key to Anse?

What operating system are you using?

Doesn't matter

What browser are you using?

Doesn't matter

Describe the bug

When using https://anse.app/ and using my own OpenAPI key, I'm noticing that your app is making a request to https://anse.app/api/handle/provider-openai and it contains my API key in the body of the summarize request.

I can understand doing that when the "Use Backend" option is on but when it's off, you really should not be sending my API key anywhere.

What provider are you using?

OpenAI

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

How can connect the cloud vectorbase

Describe the feature

How can connect the cloud vectorbase

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Support for Simplified Chinese

Describe the feature

Although there is an option to switch to Simplified Chinese on the right side, there is still a significant amount of English on the page. Default options, descriptions, and other elements are still in English, and I hope they can be changed to Chinese.

image
I don't know what the differences are in the pictures
I just listed some English descriptions that I hope can be seen on the webpage and would like them to be translated into Chinese when switching the language to Chinese.

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Copy code button

Describe the feature

Previously there was a copy code button on all the code blocks. It would be really nice to have that feature in this new version.

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Titles are too narrow for English

What operating system are you using?

Windows, Android

What browser are you using?

Edge

Describe the bug

The title panel is too narrow. While Chinese titles are properly displayed, English titles are often shown with only two or three words.

OpenAI ChatGPT
image

Anse
image

I suggest we decrease English font sizes and increase title panel width.

What provider are you using?

None

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Environment variable does not take effect

What operating system are you using?

windows

What browser are you using?

chrome

Describe the bug

I deploy through docker, but setting environment variables does not take effect.

I set the password environment variable, but I can still access the webpage without the password.

image

SITE_PASSWORD=test

The following environment variable settings do not take effect. What is the problem? Thank you all for your answers!

image

What provider are you using?

None

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

model add

Describe the feature

need gpt-3.5-turbo-16k-0613

Additional context

No response

Participation

  • I am willing to submit a pull request for this feature.

Setting type "toggle" doesn't work properly in the first time

What operating system are you using?

Windows, Android

What browser are you using?

Edge

Describe the bug

I create a custom provider with a setting type "toggle" as following:

      {
        key: 'browsing',
        name: 'Browsing',
        description: '是否联网',
        type: 'toggle',
        default: false,
      },

It causes errors when it's the first time trying to modify this setting. It then blocks the setting panel and users cannot modify other settings properly.

However, when the modification is saved and the page is reloaded, this error is gone.

What provider are you using?

Others (Specify in description)

What prompt did you enter?

No response

Console Logs

web.5717ee6e.js:1  Uncaught TypeError: Cannot destructure property 'checked' of 'n' as it is undefined.
    at Jt (SettingsSidebar.b58c0e0a.js:7:14076)
    at dispatchChangeEvent (SettingsSidebar.b58c0e0a.js:7:38715)
    at kt.executeActions (chunk-LAWKLQEP.ebe166cb.js:1:15679)
    at kt.performTransitionEffects (chunk-LAWKLQEP.ebe166cb.js:1:17642)
    at kt.performStateChangeEffects (chunk-LAWKLQEP.ebe166cb.js:1:17801)
    at kt.transition (chunk-LAWKLQEP.ebe166cb.js:1:18658)
    at chunk-LAWKLQEP.ebe166cb.js:1:18213
    at Object.setChecked (SettingsSidebar.b58c0e0a.js:7:36426)
    at SettingsSidebar.b58c0e0a.js:7:39078
    at web.5717ee6e.js:1:3136

Participation

  • I am willing to submit a pull request for this issue.

Chat content rendering exception.

What operating system are you using?

Windows

What browser are you using?

Chrome

Describe the bug

Sorry the bug #43 isn't fixed in Docker Image (V1.1.5->latest).

Chrome Console has no error output.

Associated issue #43

Input

1685064613758

Output

1685064621829

Docker Image

image

What provider are you using?

OpenAI

What prompt did you enter?

<div>
  Hello World
</div>
Please explain this code snippet.

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

On mobile phones, the position of the input box is not fixed at the bottom.

What operating system are you using?

android

What browser are you using?

chrome and wechat

Describe the bug

On mobile phones, the position of the input box is not fixed at the bottom.
telegram-cloud-photo-size-4-5958620615114079067-y

What provider are you using?

None

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Maximum token not update with model

What operating system are you using?

Mac

What browser are you using?

Chrome

Describe the bug

The token count does not change with the model's modification. For example, for GPT-3.5, the maximum token count is 4096, while for GPT-4, it is 8192. However, in anse, the token count remains consistent across all models.

What provider are you using?

OpenAI

What prompt did you enter?

No response

Console Logs

No response

Participation

  • I am willing to submit a pull request for this issue.

Double border

What operating system are you using?

Across all platforms

What browser are you using?

Every browser

Describe the bug

The last message's bottom border and the Send component's top border are two border, which is not elegant:

image

We want this:

image

Participation

  • I am willing to submit a pull request for this issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.