Commit graph

62 commits

Author SHA1 Message Date
Logan Yang
88d33a24f2
Disable index loading on mobile (#807)
* Fix index recreation at embedding model switch
* Implement disable index on mobile
* Fix model and chain selection menu on mobile
2024-11-13 01:37:43 -08:00
Logan Yang
76f4c8d494
Move model and mode selection menus (#804) 2024-11-11 23:25:37 -08:00
Zero Liu
40cfc31668
FE: Refactor input control tooltips (#797)
Co-authored-by: Zero Liu <zero@lumos.com>
2024-11-09 15:01:46 -08:00
Logan Yang
92aaa86f8e
Cursor style input (#790) 2024-11-08 14:41:05 -08:00
Emt-lin
5b23bd56f3
feat: Optimize model setting style for mobile devices. (#774) 2024-11-05 00:25:46 -08:00
Zero Liu
eea257c33d
Add suggested prompts (#768)
Co-authored-by: Zero Liu <zero@lumos.com>
2024-11-03 11:17:07 -08:00
Logan Yang
d51ab56aa2
Find similar notes button and command (#704)
* Update Vault QA language

* Remove Send Notes to Prompt button

* Add command and button for finding similar notes
2024-10-05 19:53:17 -07:00
Logan Yang
7826b302e7
Add button for Stop and Resume indexing with 429 error notice(#695) 2024-10-02 22:26:21 -07:00
Logan Yang
2a6e833ca6
Fix AI message wrapping (#683) 2024-09-28 22:23:57 -07:00
Logan Yang
2d8f59714d
Add message timestamp (#665)
* Add timestamp to messages and sort chat history

* Update conversation tag
2024-09-23 17:38:32 -07:00
Logan Yang
42d74c89f3
Chat buttons (#594)
* Update readme

* Add chat message buttons

* Implement insert at cursor

* Implement regerenate message

* Fix formula corner cases

* Implement editing user message
2024-09-04 21:37:43 -07:00
Logan Yang
9c94fc2570
[Model Revamp] Implement Cursor style model settings (#567)
Revamp model settings and selection

Encrypt custom model api key

Implement default model setting

Update custom model support, LM studio and Ollama with proxyopenai

Apply cursor style settings to embedding models

Remove old way of openai proxy

Update embedding manager

Use modelKey instead of model and embeddingModel in params

Enable cors mode for custom models, icon buttons style change
2024-08-30 17:46:01 -07:00
Gianluca Venturini
684eec59b0
Adds mobile support (#513)
* Remove Nodejs dependencies

* Remove ProxyServer

* Make buttons icon visible on mobile

* Improve button size on tablet

* Wrap ChatAnthropic to support CORS

* Use anthropic-dangerous-direct-browser-access header

* Fix mobile chat left alignment

* pouchdb -> pouchdb-browser

* LMStudio model supports CORS

* events are polyfilled to null

* Polyfill events

* Safe fetch used by default in ProxyOpenAIEmbeddings

* Correctly return parsed json in safeFetch()
2024-08-29 23:46:35 -07:00
Logan Yang
f05f5c7ab5
Fix numbered list rendering (#531) 2024-08-25 16:00:56 -07:00
Logan Yang
492ee9cfd1
Update message styling, support math, code highlighting and tables (#527) 2024-08-24 23:29:44 -07:00
Logan Yang
87bef4849d
Reimplement send and stop buttons (#523) 2024-08-22 17:15:03 -07:00
Logan Yang
0191f66e8d
Add code syntax highlighting and copy code (#520) 2024-08-21 15:04:42 -07:00
Takaho
d8acc2441d
align copy-message-button flex-end (#517) 2024-08-20 21:56:16 -07:00
Logan Yang
8ceadc2372
First version of chat context filter by tags (#291) 2024-02-14 19:12:11 -08:00
Logan Yang
65f62513e0
Pass multiple notes to prompt by setting folder as context using Copilot command (#265) 2024-01-27 22:51:54 -08:00
Logan Yang
f84a3bc56b
[2.4.11] Refactor settings to React components (#248)
* Add ollama custom base url setting
2024-01-20 19:12:34 -08:00
Logan Yang
c5ef696db2
Add Save and Reload button to settings, fix some error handling (#218)
* Add save and reload button for settings

* Style new button and settings

* Fix error handling for missing API key and wrong models

* Use gpt4 turbo as default model
2024-01-01 22:04:55 -08:00
Logan Yang
7a4a10cdd1
Fix system prompt and AI chat font size (#107) 2023-07-12 16:54:57 -07:00
Logan Yang
2dc2ae2113
Add new models (#75)
* Add notice for vector store creation

* Add new models to dropdown in settings and chat UI

* Implement new set model logic

* Disable claude models for now because of CORS

* Add working version of AIState with more models

* Make the button force rebuild index

* Wrap the buttons when the view is narrow
2023-06-15 06:39:14 -07:00
Logan Yang
011f103ec6
Add custom prompt commands (#47) 2023-05-31 20:34:29 -07:00
Logan Yang
58baf9e710 Make text input area scrollable 2023-05-12 22:18:06 -07:00
Logan Yang
a3b3a2aee5 Fix css overriding default styling bug 2023-05-12 13:14:08 -07:00
Logan Yang
670e7ee4e4 Fix css specificity 2023-04-14 12:14:43 -07:00
Logan Yang
2091295615 Fix unclickable copy button under content 2023-04-11 12:09:14 -07:00
Logan Yang
924fe785be Fix li styling attempt 2 2023-04-10 18:26:20 -07:00
Logan Yang
0a95c67d0c Fix li styling 2023-04-10 15:03:35 -07:00
Logan Yang
4298296a58 Fix inline code issue in li items 2023-04-10 14:50:56 -07:00
Logan Yang
a21b12d0a6 Remove regenerate response button 2023-04-08 21:58:38 -07:00
Logan Yang
b328c00fba Add placeholder in text area 2023-04-07 22:51:42 -07:00
Logan Yang
4c2492a05d Implement model change by selection 2023-04-07 22:02:42 -07:00
Logan Yang
c4a6fcadc7 Add tooltip to icon buttons 2023-04-07 21:29:37 -07:00
Logan Yang
8865cfa693 Change icon button styling 2023-04-07 15:46:32 -07:00
Logan Yang
546f987a59 Add autosizing for input text area 2023-04-07 15:04:15 -07:00
Logan Yang
9b679fb3c4 Fix list item misalignment 2023-04-07 14:44:49 -07:00
Logan Yang
ccc085c9b2 Redo styling of copy button and remove the hover and hide 2023-04-06 14:10:37 -07:00
Logan Yang
95bdc64257 Hide copy button unless hovered over the message 2023-04-06 13:49:57 -07:00
Logan Yang
1f32b3e5fc Add copy to clipboard button to messages 2023-04-06 13:42:40 -07:00
Logan Yang
18ef82f54f Add more styling to messages 2023-04-06 11:20:19 -07:00
Logan Yang
bdd9a4b156 Implement first working version of streaming 2023-04-05 12:03:46 -07:00
Logan Yang
226bb2cbf6 Fix duplicate user message and chat history bug 2023-04-04 21:58:42 -07:00
Logan Yang
eb165165de Add user and bot icons and styling 2023-04-04 13:09:45 -07:00
Logan Yang
ec11114fdc Fix styling in chat view 2023-04-03 22:03:50 -07:00
Logan Yang
d7c0e4de56 Fix duplicate user message bug 2023-04-03 21:37:09 -07:00
Logan Yang
81c7894047 Add first attempt with React 2023-04-03 20:18:39 -07:00
Logan Yang
9ec52d3433 Scroll to bottom after user enters message 2023-04-03 12:12:44 -07:00