Commit Graph

39 Commits

Author SHA1 Message Date
KKTsN c9c652eece fix: improve streaming error propagation and forwarded response logging (#5317)
* Fix: Improve streaming error handling and forwarded response logging

* Fix: fix ESLint error  Strings must use singlequote  quotes

* fix: preserve and log forwarded stream errors

* chore: narrow forwarded stream error fix scope

* fix: make forwardFetchResponse awaitable and forward upstream error text

* Restore original happy path handling

* Remove redundant checks in forwardFetchResponse function

* Don't send anything on parsing error end

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2026-04-05 23:01:47 +03:00
Cohee 4d1619ba47 Chore: enable brace-style eslint check (#5159)
* eslint: enable brace-style check

* Fix jsdoc and color

* fix: correct CSS color syntax in CreateZenSliders function
2026-02-15 01:46:32 +02:00
sirius422 4d9f229383 Add Variety Boost option for NovelAI image generation. (#4417)
Co-authored-by: sirius422 <sirius42@gfw.moe>
2025-08-22 20:27:17 +03:00
Cohee c218c1baea ZIP extraction error handling (#4002)
* Improve error handling in extractFileFromZipBuffer function

* Add warning logging to NovelAI image upscaling
2025-05-16 19:57:33 +03:00
Cohee dfd78077ec Prevent fetch response status forwarding
Fixes #3864
2025-04-17 13:39:09 +00:00
Cohee 67d013e40a Use default middleware for parsing request body 2025-03-10 00:48:58 +02:00
Eradev a5399b6614 Sparser use of .error 2025-02-02 03:47:04 -05:00
Eradev 055a6527fc PR fixes 2025-02-02 03:10:32 -05:00
Eradev 1f9fa74786 Rewritten minLogLevel feature 2025-01-15 10:02:32 -05:00
Cohee e6107ad447 Add NAI Diffusion V4 2024-12-22 15:39:41 +02:00
Cohee 4fcad0752f [chore] Fix type errors 2024-10-11 21:33:36 +03:00
Cohee a0e6030836 Simplify node imports 2024-10-11 00:28:17 +03:00
Cohee 1616e7e067 Explicitly import Buffer. Specify jsdoc local extensions 2024-10-10 23:36:22 +03:00
Cohee d52b4fbbde Node: Migrate to ES Modules 2024-10-10 22:37:22 +03:00
Cohee c8ef4b02bc Add .git to jsconfig ignore 2024-10-06 19:12:28 +03:00
Cohee 9d2a700b04 Add bad words and rep pen whitelist for Erato 2024-09-24 12:14:46 +03:00
Cohee 26f4d1a4ad Remove CFG for Novel, fix logitbias and text adventure bans for Erato 2024-09-24 08:12:50 +00:00
Cohee 8775247942 Fix banned tokens not working for Erato 2024-09-24 07:55:23 +00:00
Cohee 182756fcb2 Erato (#2896)
* Erato
erato
2024-09-24 03:10:31 +03:00
Cohee e2f88e6243 Add Unified sampling for Novel 2024-09-21 00:24:52 +03:00
Cohee 8efe0b6437 Add Min P for Novel 2024-09-20 22:42:56 +03:00
Cohee bdc335d238 NovelAI: Update API URL for Kayra 2024-08-29 22:32:56 +03:00
Cohee 60b7164c28 Import character icon from CHARX 2024-06-08 22:37:17 +03:00
Cohee 4eb6657b51 Add SD seed control 2024-05-29 23:29:45 +03:00
Cohee d350dbf0d7 Add Novel decrisper control 2024-05-29 03:00:42 +03:00
Cohee b07a6a9a78 Update all endpoints to use user directories 2024-04-07 01:47:07 +03:00
Cohee 0debe2ca4d they did only move the imagegen towards that api endpoint not upscaling 2024-04-05 22:17:29 +03:00
Cohee f002b2d5cc #2016 Fix NovelAI endpoint 2024-04-05 22:15:50 +03:00
Cohee c606cd1295 Add SMEA/DYN controls for NAI Diffusion 2024-03-20 21:23:56 +02:00
Cohee c3129da879 [skip ci] Lint fix 2024-02-07 19:28:34 +02:00
khanon 60044c18a4 Implement Token Probabilities UI using logprobs 2024-01-25 18:34:46 -06:00
maver a86d3104d6 Add text adventure stop token to NAI 2024-01-11 20:14:32 +01:00
maver 79755c2edf Add horizontal lining to bad words for NAI 2024-01-11 19:51:15 +01:00
Cohee b315778e32 Chunkify NovelAI TTS 2024-01-01 21:31:08 +02:00
Cohee dbd52a7994 Merge pull request #1482 from valadaptive/sse-stream
Refactor server-sent events parsing
2023-12-10 18:32:19 +02:00
Cohee 44ac2ca4e6 Avoid returning 401 as API response code 2023-12-09 15:11:35 +02:00
valadaptive 055d6c4337 Properly forward status codes from streams 2023-12-07 18:06:17 -05:00
valadaptive e6b549bc48 Use Express router for novelai endpoint 2023-12-04 12:52:27 -05:00
valadaptive 24546621e3 Move endpoints into their own folder 2023-12-04 10:12:27 -05:00