Commit Graph

1232 Commits

Author SHA1 Message Date
DirkSchlossmacher
ba8bb01233 gpt-4-turbo 2024-04-17 08:22:15 +02:00
DirkSchlossmacher
f6e2d3a68c
Update openai.ts
update modelsToReplace
2024-04-16 22:12:54 +02:00
DirkSchlossmacher
94ea750137
Update openai.ts
// add max_tokens to vision model
    if (visionModel) {
      Object.defineProperty(requestPayload, "max_tokens", {
        enumerable: true,
        configurable: true,
        writable: true,
        value: 4096,
      });
    }

    // value: modelConfig.max_tokens,
2024-04-16 22:01:55 +02:00
DirkSchlossmacher
1e83c4f8ab
Update utils.ts
is vision model = gpt-4-turbo-2024-04-09
2024-04-16 21:57:42 +02:00
DirkSchlossmacher
a9f33d8f0b
Update constant.ts
gpt-4-turbo-2024-04-09
2024-04-16 21:54:36 +02:00
Klaas Reineke
51cc8110d1 fix: double rendering of children in layout 2024-04-14 19:03:16 +02:00
Klaas Reineke
23b560f45f Fixed manual merge removed import 2024-03-25 18:21:14 +01:00
Klaas Reineke
20c81d0148 Fixing manual merge 2024-03-25 18:16:20 +01:00
Klaas Reineke
7c3ac051ef Update home.tsx 2024-03-25 18:08:43 +01:00
Klaas Reineke
f1526ebf65 Merge remote-tracking branch 'upstream/main' into klaas20240303 2024-03-25 15:56:20 +01:00
DeanYao
a4e4286e04
Merge pull request #4186 from MrrDrr/formula_rendering
support \(...\) and \[...\] style math formula
2024-03-25 19:55:57 +08:00
fred-bf
f1b4c083a4
Merge pull request #4379 from EasonQwQ/main
Fix: Handle empty server response in API call
2024-03-24 14:18:14 +08:00
fred-bf
e8d76a513d
patch: disable webdav redirect 2024-03-24 14:15:04 +08:00
kidv
29e03b88c7 Fix: Handle empty server response in API call 2024-03-24 04:07:25 +08:00
H0llyW00dzZ
c0c54e5709
Fix Webdav Syncing Issues
- [+] feat(route.ts): add endpoint validation and improve error handling
- [+] refactor(route.ts): use targetPath for request validation and error messages
- [+] fix(route.ts): correct targetUrl formation
2024-03-20 01:40:41 +07:00
fred-bf
3ba984d09e
Merge pull request #4306 from H0llyW00dzZ/simplify-cherry-pick
[Cherry Pick] Improve [Utils] Check Vision Model
2024-03-19 17:45:57 +08:00
Raax
028957fcdc Fix "Enter" bug
Fix Chinese input method "Enter" on Safari
2024-03-16 21:55:16 +08:00
H0llyW00dzZ
a4c54cae60
Improve [Utils] Check Vision Model
- [+] refactor(utils.ts): improve isVisionModel function to use array.some instead of model.includes
2024-03-15 09:38:42 +07:00
Fred
066ca9e552
fix: auto migrate proxy config 2024-03-14 03:03:46 +08:00
Fred
99aa064319
fix: fix webdav sync issue 2024-03-14 01:58:25 +08:00
Fred
6aaf83f3c2
fix: fix upstash sync issue 2024-03-14 01:56:36 +08:00
Fred
133ce39a13
chore: update cors default path 2024-03-14 01:33:41 +08:00
Fred
8645214654
fix: change matching pattern 2024-03-14 01:26:13 +08:00
Fred
eebc334e02
fix: remove corsFetch 2024-03-14 00:57:54 +08:00
Fred
038fa3b301
fix: add webdav request filter 2024-03-14 00:33:26 +08:00
Fred
9a8497299d
fix: adjust upstash api 2024-03-13 23:58:28 +08:00
fred-bf
a15c4d9c20
Merge pull request #4234 from fengzai6/main
Fix EmojiPicker mobile width adaptation and update avatar clicking behavior
2024-03-11 13:59:09 +08:00
fred-bf
2bf6111bf5
Merge branch 'main' into fix-export-garbled 2024-03-07 17:07:08 +08:00
fengzai6
ad10a11903 Add z-index to avatar 2024-03-07 15:51:58 +08:00
fengzai6
c22153a4eb Revert "fix: No history message attached when for gemini-pro-vision"
This reverts commit c197962851.
2024-03-07 15:46:13 +08:00
fengzai6
5348d57057 Fix EmojiPicker mobile width adaptation and update avatar clicking behavior 2024-03-07 15:36:19 +08:00
fengzai6
052524dabd Merge remote-tracking branch 'upstream/main' 2024-03-07 15:32:09 +08:00
fred-bf
e71094d4a8
chore: update GTM_ID definition, close #4217 2024-03-05 17:36:52 +08:00
aliceric27
e1066434d0 fix some text 2024-03-03 00:23:00 +08:00
aliceric27
86ae4b2a75 slightly polishes the tw text. 2024-03-02 23:58:23 +08:00
l.tingting
524c9beee4 support \(...\) and \[...\] style math formula 2024-03-02 11:08:34 +08:00
fred-bf
99fb9dcf11
Merge pull request #4164 from KSnow616/main
feat: Pasting images into the textbox
2024-02-29 22:14:02 +08:00
fred-bf
1294817103
Merge pull request #4089 from H0llyW00dzZ/cherry-pick
[Cherry Pick] Fix [Utils] Regex trimTopic
2024-02-29 16:31:30 +08:00
Snow Kawashiro
9775660da7
Update chat.tsx 2024-02-28 20:45:42 +08:00
Snow Kawashiro
e7051353eb
vision_model_only 2024-02-28 20:38:00 +08:00
Snow Kawashiro
bd19e97cf8
add_image_pasting 2024-02-28 20:05:13 +08:00
Fred
43e5dc2292
fix: fix the method to detect vision model 2024-02-28 11:33:43 +08:00
fred-bf
08fa22749a
fix: add max_tokens when using vision model (#4157) 2024-02-27 17:28:01 +08:00
fengzai6
c197962851 fix: No history message attached when for gemini-pro-vision 2024-02-27 15:02:58 +08:00
fred-bf
44a51273be
Merge pull request #4149 from fred-bf/feat/auto-detach-scrolling
feat: auto detach scrolling
2024-02-27 11:56:37 +08:00
Fred
e3b3ae97bc
chore: clear scroll info 2024-02-27 11:49:44 +08:00
Fred
410a22dc63
feat: auto detach scrolling 2024-02-27 11:43:40 +08:00
Algorithm5838
069766d581
Correct cutoff dates (#4118) 2024-02-27 10:28:54 +08:00
DonaldBear
f22e36e52f
feat(tw.ts): added new translations (#4142)
* feat(tw.ts): added new translations

I have translated previously untranslated text in response to the latest update.

* feat(tw.ts): added new translations

I have translated previously untranslated text in response to the latest update.
2024-02-27 00:16:56 +08:00
fred-bf
ff166f7b4c
chore: adjust for ollama support (#4129) 2024-02-26 17:18:46 +08:00