Cohee
d7c938a294
WI: increase budget cap max value 8k -> 64k
2025-06-02 14:33:03 +00:00
Cohee
1ae4c22ebc
Merge pull request #4086 from NicodeSS/release
...
fix: lowercase remote-user header in authelia auto-login procedure
2025-06-02 17:27:54 +03:00
Nicode
cfa9ef4726
fix: lowercase remote-user header in authelia auto-login procedure
...
Ensure the remote-user header is lowercased to fix case-sensitivity issues in the authelia auto-login process, improving compatibility.
2025-06-02 20:53:39 +08:00
Cohee
281ce10040
Update placeholder for empty message
2025-06-02 11:44:56 +03:00
Rebecca Turner
7ef296d43a
Feature: Allow tools to accept arrays of values as an array ( #4085 )
...
Previously, a tool that that registered itself as having an array parameter
had each element of the array registered as a variable, but it did not
register the array parameter itself. This meant that it was only really
useful with fixed length arrays.
This patch adds a variable for the array itself that lives alongside the
existing args. I don't expect this to have any backward compatiblity
concerns.
Repro:
```stscript
// this requires lalib to function |
/let key=schema {
"$schema": "http://json-schema.org/draft-04/schema# ",
"type": "string",
"properties": {
"example": {
"type": "array",
"contains": {
"type": "string"
}
}
},
"required": [
"example"
]
} ||
/tools-register name=YourFunc description="filler" parameters={{var::schema}} {:
/let ex {: /try {: /return {{var::arg.example}} :} :}() | /= ex.isException | /if rule=not left={{pipe}} else={:
/console-log {{var::ex}}
:} {:
/console-log "arg.example: {{var::arg.example}}" |
/foreach {{var::arg.example}} {: /console-log "#{{var::index}}: {{var::item}}" :}
:} |
/try {: /return {{var::arg.example.0}} :} | /console-log "arg.example.0: {{pipe}}" |
/try {: /return {{var::arg.example.1}} :} | /console-log "arg.example.1: {{pipe}}" |
/try {: /return {{var::arg.example.2}} :} | /console-log "arg.example.2: {{pipe}}" |
/try {: /return {{var::arg.example.3}} :} | /console-log "arg.example.3: {{pipe}}" |
:} ||
/let key=params {
"example": [
"test1", "test2", "test3"
]
} |
/tools-invoke parameters={{var::params}} YourFunc
```
Currently produces:
```
[/console-log] arg.example: {"isException":true,"exception":"No such variable: \"arg.example\""}
[/console-log] arg.example.0: {"isException":false,"result":"test1"}
[/console-log] arg.example.1: {"isException":false,"result":"test2"}
[/console-log] arg.example.2: {"isException":false,"result":"test3"}
[/console-log] arg.example.3: {"isException":true,"exception":"No such variable: \"arg.example.3\""}
```
With this patch it produces:
```
[/console-log] arg.example: ["test1","test2","test3"]
[/console-log] #0 : test1
[/console-log] #1 : test2
[/console-log] #2 : test3
[/console-log] arg.example.0: {"isException":false,"result":"test1"}
[/console-log] arg.example.1: {"isException":false,"result":"test2"}
[/console-log] arg.example.2: {"isException":false,"result":"test3"}
[/console-log] arg.example.3: {"isException":true,"exception":"No such variable: \"arg.example.3\""}
```
2025-06-02 10:54:10 +03:00
Rebecca Turner
6bb07370f4
Fix #4083 JSON parse error when tool does not accept parameters ( #4084 )
...
* Fix #4083 : JSON parse error when tool does not accept parameters
* Reformat for visual coolness
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-02 10:18:04 +03:00
RossAscends
fa10833e52
add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up ( #4080 )
...
* add minimum requirement of 2 [A-za-z] for slashcommand autocomplete to show up
* Migrate to dedicated AC toggle
* Replace state checkbox with select
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-01 20:07:33 +03:00
Cohee
4c3bb1aede
PPP command and connection profiles ( #4079 )
...
* Add PPP command
* Add PPP to connection profiles
2025-06-01 18:15:06 +03:00
Nikolas Brown
c4d89b2067
Gemini inline video ( #4078 )
...
* Add inline video attachment support for Gemini 2.5 Pro
* file formatting
* removed redundant function for saving video to message
* removed other redundant function for saving video to message
* Seperate inlining check for video
* Edit video token cost to be a conservative estimate of 10000 tokens
* fixed missing semicolon
* Adds seperate ui toggle for video inlining.
* Move mes_video out of img_container
* Remove title from video element for now
* Better visibilty of video with controls
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-01 15:04:16 +03:00
Cohee
3ec9b1a099
Implement data clean-up dialog ( #4072 )
...
* [wip] Add user data cleanup service
* Add clean-up report viewer
* Fix review comments
* Add function comments
* Implement item actions
* Fix UI styles
* Add placeholder for empty results, update category description view
* Add displayEmptyPlaceholder method to show message when results list is empty
* Adjust menu buttons row
* Delete char-scoped data bank attachments on character deletion
* Data Bank: Handle character attachments on rename
* Remove line breaks in description strings
* Drop the category when the last item is deleted
* Skip invalid hashes instead of bailing
2025-06-01 13:56:34 +03:00
Cohee
7f47f84c9f
Merge branch 'release' into staging
2025-06-01 01:17:59 +03:00
Cohee
303c1dcf14
Caption: fix displaying secondary endpoint for unsupported sources
2025-06-01 01:17:42 +03:00
Cohee
ecbe8d38c5
Merge branch 'release' into staging
2025-06-01 01:11:51 +03:00
Cohee
5b7483af14
Add filename validation middleware to create endpoint
2025-06-01 01:11:26 +03:00
Cohee
b7444a0fd2
Add filename validation middleware to upload endpoint
...
#4065
2025-06-01 01:09:53 +03:00
Cohee
a17d0c2293
Merge pull request #4077 from SillyTavern/fix-mes0-right-swipe
...
Allow swipe right to generate first message in non-pristine chats
2025-05-31 21:27:21 +03:00
Cohee
7ca8c4591f
Allow swipe right to generate first message in non-pristine chats
...
Fixes #4074
2025-05-31 19:02:35 +03:00
Cohee
8b44bf1e55
Merge pull request #4071 from closuretext/patch-1
...
Added NAI Diffusion V4.5 Full and V4.5 Curated
2025-05-31 02:01:08 +03:00
closure
26f717ac45
Added NAI Diffusion V4.5 Full and V4.5 Curated
2025-05-30 17:48:39 -03:00
Cohee
89ef54f286
Do not replace inline HTML img with image embed ( #4063 )
2025-05-29 21:44:16 +03:00
Cohee
1cbc4ac65b
Fix HTML syntax errors by @Dakraid
...
Original commit: fd4babab31
2025-05-29 21:38:55 +03:00
Cohee
e1e2d3e726
Recent chats: add delete and rename buttons ( #4051 )
...
* [wip] Add rename/delete for recent chats
* Implement deleteCharacterChatByName
* Fix character name usage in deleteCharacterChatByName function
2025-05-29 21:21:53 +03:00
Radovenchyk
71de864a5e
docs: edited the link to the forks badge ( #4059 )
...
* Update readme.md
* Update readme.md
2025-05-29 21:02:21 +03:00
Cohee
0b1e3828aa
Merge pull request #4060 from leandrojofre/relieve-group-chat-console
...
Clean console debugs for group chats
2025-05-29 19:30:52 +03:00
leandrojofre
34b8b48b52
Update - Clean console debugs for group chats
...
Those two debugs always floods the console in group chats, making it imposible to debug anything else, like extensions or activated wi entries.
2025-05-29 12:05:57 -03:00
Cohee
8ccbbe8cdc
Merge pull request #4057 from omahs/patch-2
...
Fix typos
2025-05-29 16:40:53 +03:00
Cohee
1dc7415cdb
Merge pull request #4058 from rsxdalv/patch-1
...
refresh voices upon checkReady in openai-compatible TTS
2025-05-29 15:51:09 +03:00
Roberts Slisans
8db879d9f2
refresh voices upon checkReady in openai-compatible TTS
2025-05-29 14:40:52 +03:00
omahs
d7d20a67fa
Fix typos
2025-05-29 11:56:59 +02:00
Cohee
87df4db1a4
Add vertexai.svg image file
2025-05-29 01:48:42 +03:00
Cohee
853a80a428
Unblock Request model reasoning for Vertex
2025-05-28 20:55:40 +03:00
Cohee
b61269445d
Merge pull request #4046 from InterestingDarknessII/vertexfull
...
Add Vertex AI Full Version support
2025-05-28 20:52:24 +03:00
Cohee
4e75f2fa4d
Change no neutral warning text to align with other inputs
2025-05-28 20:45:35 +03:00
Cohee
1921036666
Move account status block higher
2025-05-28 20:42:40 +03:00
Cohee
0559fd7e8b
Fix alignment of Region controls
2025-05-28 20:40:13 +03:00
Cohee
250bf5249a
Remove unnecessary blank lines in chat-completions.js
2025-05-28 20:38:09 +03:00
Cohee
5c2cfed18b
Implement auto-connect for VertexAI full
2025-05-28 20:37:50 +03:00
Cohee
a0dda44ff9
Fix model options hiding on Chrome
2025-05-28 20:37:34 +03:00
InterestingDarkness
75e3f599e6
Derive Vertex AI Project ID from Service Account JSON
...
This commit refactors the Vertex AI integration to automatically derive the
Project ID from the provided Service Account JSON. This simplifies the
configuration process for users in "Full" (service account) authentication
mode by removing the need to specify the Project ID separately.
2025-05-28 21:57:17 +08:00
InterestingDarkness
9f698dd6e3
Updated the placeholder text for the region input field in index.html to include 'global' as an option.
...
- Added a help link to provide users with information on available regions and models, improving user guidance.
2025-05-28 21:32:39 +08:00
InterestingDarkness
55af19e70b
Reduced the number of rows in the textarea for Service Account JSON input in index.html
2025-05-28 21:26:10 +08:00
InterestingDarkness
c9f90a2bd3
Update Gemini model options in Vertex AI section
...
- Removed outdated model options from the Gemini 2.0 optgroup in index.html.
- Added 'gemini-2.0-flash-preview-image-generation' to the image generation models in chat-completions.js for improved functionality.
2025-05-28 09:26:06 +08:00
Cohee
b3077c4635
Use shared constant for default avatar path
2025-05-27 22:34:22 +03:00
Cohee
817ae20c3b
Allow vertical scroll in import menu
2025-05-27 22:31:16 +03:00
buzz
4bec90abb5
Import character card from Soulkyn ( #4042 )
2025-05-27 22:30:15 +03:00
InterestingDarkness
1e2bec1751
Removed direct references to 'vertexai_project_id' from openai.js and related files, ensuring it is now managed through backend secrets for enhanced security.
2025-05-27 21:25:53 +08:00
InterestingDarkness
a9d4988fc0
Remove vertexai_service_account_json from oai_settings. And google.js.
2025-05-27 08:59:13 +08:00
Cohee
2c7f2e2014
Pollinations: fix headers, add samplers
2025-05-26 23:18:51 +03:00
Cohee
e2222ac40a
Pollinations: fix headers, add samplers
2025-05-26 23:18:14 +03:00
Cohee
1b5a11206f
Merge pull request #3967 from gakada/regex
...
Regex: allow multiple definitions in a single file
2025-05-26 22:26:06 +03:00