Commit Graph

4348 Commits

Author SHA1 Message Date
LenAnderson 6936485d94 autocomplete styling 2024-04-05 10:42:08 -04:00
LenAnderson 67eca6a50b autocomplete positioning 2024-04-05 10:41:45 -04:00
LenAnderson 35f2770d6e when to show autocomplete vs info only 2024-04-05 10:41:16 -04:00
LenAnderson 12a5105312 throw exception from QRs window-function if no match 2024-04-02 12:55:59 -04:00
LenAnderson 3b545a7ab1 use /run to call closures and no arguments on immediate closures 2024-04-02 12:47:11 -04:00
LenAnderson 52b616647c if should return the pipe result from closures 2024-04-02 10:11:30 -04:00
LenAnderson 965b996dab fix scope for closure arguments 2024-04-02 09:47:06 -04:00
LenAnderson e0e89959b9 fix error message 2024-04-02 09:46:53 -04:00
LenAnderson cba2140152 Merge branch 'staging' into parser-v2 2024-04-02 09:02:59 -04:00
LenAnderson c40c37eba4 changes to /let and /var for callable closures 2024-04-02 08:59:22 -04:00
LenAnderson d826eb43d4 add callable closure vars 2024-04-02 08:48:41 -04:00
Cohee c0fffde739 Fix SD "Raw last message" in groups 2024-04-02 13:15:31 +03:00
Cohee 04edf32ef0 Do not send dynatemp to backends if disabled 2024-04-02 11:29:49 +03:00
Cohee 96a85ca688
Merge pull request #2003 from bdashore3/json-schema
Add JSON schemas for TabbyAPI
2024-04-02 11:23:49 +03:00
Cohee 0b76e1d350 Fix schema not loading from presets. Fix ESLint warnings 2024-04-02 11:23:29 +03:00
Cohee 43401312e1
Merge pull request #2002 from aisu-wata0/example_chat_loop
fix: openai: avoid skipping example chats in a dialogue when close to quota
2024-04-02 10:58:00 +03:00
kingbri 5210db5679 Format
Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-02 01:01:59 -04:00
kingbri 4f0322351e Sampling: Add ability to send JSON schemas
TabbyAPI supports the ability to send JSON schemas with prompts in
addition to EBNF strings supported by outlines. Add an extra box
for TabbyAPI only.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-02 00:59:21 -04:00
Aisu Wata ac0a431cbe fix: avoid skipping example chats in a dialogue when close to quota 2024-04-01 22:44:16 -03:00
Cohee 99005d6396
Merge pull request #2000 from Wolfsblvt/unify-pick-roll-macro-regex
Unify {{pick}} and {{random}} regex
2024-04-02 02:10:24 +03:00
Wolfsblvt 3632631997 random and pick allow empty items and trim correctly 2024-04-02 01:02:02 +02:00
Wolfsblvt 9b24397f5a Unify {{pick}} and {{random}} regex
- Allow all four possible syntax forms, just to make this easier: {{random:1️⃣:two}}, {{random1️⃣:two}}, {{random::one,two}} and {{random:one,two}}
2024-04-02 00:42:13 +02:00
Cohee 03a203d607 Fix macro help 2024-04-02 01:28:31 +03:00
Cohee d7817d1882 Set default newline suffix if wrap is enabled and there's no suffix in instruct template 2024-04-02 01:24:36 +03:00
Cohee 3b333d3803
Merge pull request #1995 from Wolfsblvt/pick-macro
Add {{pick}} macro replacement
2024-04-02 01:17:03 +03:00
Cohee 4f6127c8f2 Actually support comma-split syntax in random 2024-04-02 01:16:25 +03:00
Cohee 36b718b9c7 Merge branch 'staging' into pick-macro 2024-04-02 01:07:04 +03:00
Cohee d498458971
Merge pull request #1996 from aisu-wata0/staging
fix: "Squash system messages" would fail to skip example messages
2024-04-02 00:35:57 +03:00
Cohee 910837441c
Merge pull request #1999 from Wolfsblvt/fix-autoscroll-firefox
Fix autoscroll stop not working on Firefox
2024-04-02 00:26:16 +03:00
Cohee 9838ba8044 #1994 Add Cohere as a Chat Completion source 2024-04-02 00:20:17 +03:00
Wolfsblvt 1be9551e9a Fix autoscroll stop not working on firefox 2024-04-01 23:12:54 +02:00
Cohee 9c6d8e6895 Update auto summary interval calculation algorithms 2024-04-01 18:57:42 +03:00
Aisu Wata 41860bdc57 fix: squashing system messages would fail to skip example messages 2024-04-01 01:24:29 -03:00
Wolfsblvt 70adee3c63 Add {{pick}} macro replacement
- Pick macro that works like random, but is consistent for the chat and context
- Change help text for random to actually utilize the new, preferred syntax
2024-04-01 01:47:56 +02:00
Cohee a5d00d356b Auto-calculate summary words 2024-04-01 02:11:52 +03:00
Cohee 159404c3e2 Hide "no WI/AN" in Extras summary mode 2024-04-01 01:18:29 +03:00
Cohee 6aa97c73e9 Fix example dialogue formatting with block header 2024-03-31 21:27:13 +03:00
Cohee b990eb523b #1980 Add raw summary prompt builder mode 2024-03-31 21:22:27 +03:00
Cohee 3331cb6491 Add ability to temporarily override response length for /gen and /genraw 2024-03-31 21:02:38 +03:00
Cohee ad4269f476 Add system prompt to /genraw command 2024-03-31 19:42:12 +03:00
LenAnderson c2ddfdb85d make floating auto-complete follow horizontal scrolling 2024-03-31 11:01:20 -04:00
LenAnderson b4ad798e77 set isForced to true on input 2024-03-31 07:51:02 -04:00
LenAnderson ef23930eaf update floating autocomplete position on scroll 2024-03-31 07:50:44 -04:00
LenAnderson d4a6a7f55f don't show "no matching" on cursor move 2024-03-31 07:50:15 -04:00
LenAnderson f4e38c7cd1 handle fuzzy-matched part in empty auto-complete 2024-03-31 07:49:48 -04:00
Cohee 2e28f24251 Fix summary controls disappearing when switching Chat Completion sources 2024-03-31 14:27:43 +03:00
Cohee e489d762a5
Merge pull request #1992 from HiroseKoichi/staging
Fix default instruct format in settings.json
2024-03-31 13:59:36 +03:00
Cohee 045d4e972a
Merge pull request #1982 from Wolfsblvt/improve-bulk-edit-and-fixes
Improve bulk edit and bug fixes to tags
2024-03-31 11:00:28 +03:00
Cohee b2f42f1b9f Close context menu immediately when clicked on mass tag 2024-03-31 10:54:23 +03:00
Cohee e99baac9c0 Adjust drilldown arrow style
This thing was huge
2024-03-31 10:48:23 +03:00