File input (#2270)

* doc

* feat: file upload  config

* perf: chat box file params

* feat: markdown show file

* feat: chat file store and clear

* perf: read file contentType

* feat: llm vision config

* feat: file url output

* perf: plugin error text

* perf: image load

* feat: ai chat document

* perf: file block ui

* feat: read file node

* feat: file read response field

* feat: simple mode support read files

* feat: tool call

* feat: read file histories

* perf: select file

* perf: select file config

* i18n

* i18n

* fix: ts; feat: tool response preview result
This commit is contained in:
Archer
2024-08-06 10:00:22 +08:00
committed by GitHub
parent 10dcdb5491
commit e36d9d794f
121 changed files with 2600 additions and 1142 deletions

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 21" fill="none">
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.3137 2.1798C12.6304 2.36279 12.9051 2.62076 13.4545 3.13669L15.8777 5.41226C16.4766 5.97467 16.7761 6.25591 16.9893 6.59022C17.1705 6.87433 17.3052 7.18555 17.3883 7.51211C17.486 7.89638 17.486 8.30718 17.486 9.12879V13.9567C17.486 15.76 17.486 16.6617 17.1295 17.3481C16.8291 17.9264 16.3575 18.398 15.7791 18.6985C15.0928 19.055 14.1911 19.055 12.3877 19.055H7.61249C5.80911 19.055 4.90741 19.055 4.22107 18.6985C3.6427 18.398 3.17112 17.9264 2.87068 17.3481C2.51416 16.6617 2.51416 15.76 2.51416 13.9567V6.85322C2.51416 5.04983 2.51416 4.14814 2.87068 3.4618C3.17112 2.88343 3.6427 2.41185 4.22107 2.11141C4.90741 1.75488 5.80911 1.75488 7.61249 1.75488H9.96446C10.7181 1.75488 11.095 1.75488 11.4511 1.83825C11.7538 1.90913 12.0445 2.02421 12.3137 2.1798ZM11.9441 4.28211C11.4498 3.80811 11.2026 3.57111 10.9904 3.56252C10.8219 3.55569 10.6593 3.62507 10.5476 3.75142C10.407 3.9105 10.407 4.25295 10.407 4.93784V5.71981C10.407 6.72166 10.407 7.22259 10.602 7.60524C10.7735 7.94183 11.0471 8.21549 11.3837 8.387C11.7664 8.58197 12.2673 8.58197 13.2691 8.58197H14.1686C14.8896 8.58197 15.2501 8.58197 15.4105 8.43647C15.5377 8.32102 15.605 8.15364 15.593 7.98227C15.578 7.76628 15.3178 7.51678 14.7974 7.0178L11.9441 4.28211ZM5.8374 11.8018C5.8374 11.3416 6.21049 10.9685 6.67073 10.9685H13.3331C13.7934 10.9685 14.1665 11.3416 14.1665 11.8018C14.1665 12.262 13.7934 12.6351 13.3331 12.6351H6.67073C6.21049 12.6351 5.8374 12.262 5.8374 11.8018ZM5.82763 14.9253C5.82763 14.4651 6.20073 14.092 6.66096 14.092H11.6623C12.1226 14.092 12.4956 14.4651 12.4956 14.9253C12.4956 15.3855 12.1225 15.7586 11.6623 15.7586H6.66096C6.20073 15.7586 5.82763 15.3855 5.82763 14.9253Z" fill="#00A9A6"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB