29 Commits

Author SHA1 Message Date
Nathan
b63c4dfe21 chore: show local ai disable 2025-03-30 20:12:20 +08:00
Nathan
2277d7d234 chore: show local ai disable 2025-03-30 15:15:59 +08:00
Nathan
f76ce2be14 chore: show not ready state when using ai writer with local ai 2025-03-30 12:06:08 +08:00
Nathan
8cf31b8afc chore: bump client api 2025-03-27 20:51:29 +08:00
Nathan
f574b6b9c2 chore: update default name 2025-03-27 17:10:35 +08:00
Richard Shiue
07a78b4ad7
chore: adjust default model name (#7634) 2025-03-27 14:26:45 +08:00
Richard Shiue
8528811992 chore: remove ai model class 2025-03-27 12:02:58 +08:00
Richard Shiue
f9e1dcca6c chore: code nit 2025-03-27 00:15:48 +08:00
Richard Shiue
e11388491f chore: emit ready state faster 2025-03-27 00:15:48 +08:00
Richard Shiue
eb0cff36c9 chore: improve ai model selection ui 2025-03-27 00:15:48 +08:00
Nathan
815bb11cde chore: implement local ai config 2025-03-26 14:19:57 +08:00
Nathan
0dc2363962 chore: fix incorrect local ai state 2025-03-25 13:05:18 +08:00
Nathan
05949d2f87 chore: support switch ai model in chat or ai writer 2025-03-23 21:53:05 +08:00
Richard Shiue
10f19069c6 chore: implement ui 2025-03-20 13:30:42 +08:00
Nathan
f413b9e070 chore: callback 2025-03-20 11:44:02 +08:00
Nathan
6e4206a8e2 chore: completion stream v2 2025-03-20 11:41:49 +08:00
Richard Shiue
22b03eee29
chore: implement ai writer history (#7523)
* chore: implement ai writer history

* chore: pass hitosyr
2025-03-18 17:14:20 +08:00
Nathan
5b5feb2515 chore: disable chat with file 2025-03-14 20:53:14 +08:00
Nathan
723971e423 chore: fix editable 2025-03-13 16:44:41 +08:00
Nathan
d15a8a88a6 chore: disable input when local ai is initializing 2025-03-12 20:29:03 +08:00
Richard Shiue
f8f9c3404a chore: show text options still 2025-03-11 22:05:30 +08:00
Richard Shiue
96608bd005 chore: hide predefined format section when using local ai 2025-03-11 17:06:55 +08:00
Nathan
a8b55ca3f0 chore: update prompt 2025-03-10 15:56:09 +08:00
Nathan
4ff71b5dce chore: implement ollama 2025-03-09 23:32:42 +08:00
Richard Shiue
637c043f5b
fix: ai writer launch review 0.8.5 (#7445)
* fix: improve writing not working

* fix: show insert below and discard buttons even in overflow

* fix: incorrect predefined format initialization

* fix: generate image

* chore: multi-line related questions

* fix: add to undo history

* fix: disable keyboard service when using ai writer

* fix: disable drag nodes

* fix: strikethrough text after accepting

* fix: undo
2025-03-04 16:34:07 +08:00
Richard Shiue
fe6217bd82
feat: ai writer block (#7406)
* feat: ai writer block

* test: fix integration tests

* chore: add continue writing to slash menu

* chore: focus issues during insertion

* fix: explain button position

* fix: gesture detection

* fix: insert below

* fix: undo

* chore: improve writing toolbar item

* chore: pass predefined format when using quick commands

* fix: continue writing in an empty document or at the beginning of a document

* fix: don't allow selecting text not in content

* fix: related question not following predefined format
2025-03-03 13:35:51 +08:00
Nathan.fooo
aacd09d8e2
chore: Support new error code (#7311)
* chore: fetch model list

* chore: suppor new error code
2025-02-03 20:52:08 +08:00
Nathan.fooo
a0867ed688
chore: return ai image error (#7263) 2025-01-22 09:42:24 +08:00
Richard Shiue
f73c2540c6
chore: reorganize code (#7206) 2025-01-15 19:57:47 +08:00