Commit Graph

434 Commits

Author SHA1 Message Date
Niek van der Maas 988b08a93c Fix Ordered list indices alignment #20 2023-03-07 15:41:45 +01:00
Niek van der Maas a2c1b3160f Get rid of annoying TS warning 2023-03-07 15:38:04 +01:00
Niek van der Maas be8f54ebcc Add speech recognition + TTS support 2023-03-07 15:36:01 +01:00
Niek van der Maas ac9ca6e47e Add clear settings button 2023-03-06 20:47:50 +01:00
Niek van der Maas ce931c609a Properly parse errors 2023-03-06 20:46:05 +01:00
Niek van der Maas 117f6f2a39 Add chat settings 2023-03-06 20:39:14 +01:00
Niek van der Maas da7d5232cc Separate system from error messages 2023-03-06 19:28:06 +01:00
Niek van der Maas 97432612bb
Merge pull request #19 from Michael-Tanzer/delete-chats
added option to delete individual chat
2023-03-06 19:25:19 +01:00
Niek van der Maas c05fb7379d Add type for request too 2023-03-06 19:11:00 +01:00
Niek van der Maas 1ca762bcc0 Add better types for `responses` 2023-03-06 19:06:16 +01:00
Michael Tanzer cf15adad9d added option to delete individual chat 2023-03-06 17:58:27 +00:00
Niek van der Maas 840851a35b Skip system messages 2023-03-06 18:51:16 +01:00
Niek van der Maas 86bb7f1001 Add try/catch around `fetch()`, style system messages correctly 2023-03-06 18:48:13 +01:00
Niek van der Maas 3ff30b4ccb Save chat name after suggestion 2023-03-06 18:42:43 +01:00
Niek van der Maas d03f750b01 Better alignment on mobile 2023-03-06 18:21:08 +01:00
Niek van der Maas eddfd99636 Added chat name suggestion function 2023-03-06 16:46:45 +01:00
Niek van der Maas c1983d23d9 Reset line bar height also after clicking "Send" 2023-03-06 16:24:51 +01:00
Niek van der Maas a57f65ff9e
Merge pull request #17 from Michael-Tanzer/chat-like-conversation
Chat-like conversation, all right-aligned
2023-03-06 16:20:45 +01:00
Niek van der Maas 3d13f16b5c Make 90% instead of 70% 2023-03-06 16:20:31 +01:00
Michael Tanzer 63a64417f1 Merge branch 'main' into chat-like-conversation 2023-03-06 15:15:14 +00:00
Niek van der Maas d512aa83bc Allow passing in the API key as a query parameter 2023-03-06 16:14:22 +01:00
Michael Tanzer 9699d31b5f Merge branch 'main' into chat-like-conversation
# Conflicts:
#	src/lib/Chat.svelte
2023-03-06 15:14:19 +00:00
Michael Tanzer bf60472cdd Fixed left-align issue, made conversation look like a chat 2023-03-06 15:12:23 +00:00
Niek van der Maas ac786b3dc8 Better container size on both mobile and desktop 2023-03-06 16:11:16 +01:00
Niek van der Maas b7fa95b0f3 Trim empty lines 2023-03-06 16:04:42 +01:00
Niek van der Maas f2fd3664a4 Left-align user message if more than 1 line, fixes #15 2023-03-06 15:58:12 +01:00
Niek van der Maas 3b35868a06 Switch to `svelte-markdown` 2023-03-06 14:15:52 +01:00
Niek van der Maas 54c199c8bf Swap border on user messages 2023-03-06 13:54:51 +01:00
Niek van der Maas 928326bf6b Disable autocomplete on API key 2023-03-06 13:54:41 +01:00
Niek van der Maas aa521d5a19 Use class directive 2023-03-06 11:57:38 +01:00
Niek van der Maas c2180589ac Make API key a password, fix #6 2023-03-06 10:00:45 +01:00
Niek van der Maas a9de117fc6 Safelist pre and code blocks 2023-03-06 09:23:06 +01:00
Niek van der Maas 2a725adfa5 Fix code-aligning to the left, max column size - fixes #13 2023-03-06 08:50:00 +01:00
Niek van der Maas c89bb88602 Set default marked options 2023-03-06 08:48:35 +01:00
Niek van der Maas c854c82d6e Remove TS ignore 2023-03-06 08:23:08 +01:00
Niek van der Maas 7828b71c55 Backwards compatible to old chats 2023-03-05 21:14:59 +01:00
Niek van der Maas 48ce3d96af Add auti-resizing input 2023-03-05 16:54:57 +01:00
Niek van der Maas 0074ff0de1 Allow multi-line input, fix #7 2023-03-05 16:40:19 +01:00
Niek van der Maas 11d72389a8
Merge pull request #10 from Niek/all-contributors/add-Michael-Tanzer
docs: add Michael-Tanzer as a contributor for ideas, and code
2023-03-05 16:13:09 +01:00
Niek van der Maas 0c7cfacf63
Merge branch 'main' into all-contributors/add-Michael-Tanzer 2023-03-05 16:12:55 +01:00
Niek van der Maas 41fd652aa0
Merge pull request #11 from Michael-Tanzer/chat-rename-bugfix
Chat rename bugfix
2023-03-05 16:08:15 +01:00
Michael Tanzer bb9509aa64 Revert "Attempt at tree-like chat management"
This reverts commit e27cb0a9
2023-03-05 14:59:02 +00:00
Michael Tanzer 08db5da7db Revert "Fixed issue where messages where not showing correctly. This commit should be 100% backward compatible with the previous implementation of the chat history assuming no edits."
This reverts commit ec4274c6
2023-03-05 14:58:21 +00:00
Michael Tanzer c6168ef4cb Fixed issue that caused the chat to be called "null" if a user submitted an empty prompt. Made the edit button more visible by making it appear when hovering on the whole chat name header element. 2023-03-05 14:54:42 +00:00
Niek van der Maas 313097a019
Merge pull request #9 from Niek/all-contributors/add-petergeneric
docs: add petergeneric as a contributor for ideas
2023-03-05 15:21:52 +01:00
allcontributors[bot] 4747c66b14
docs: update .all-contributorsrc 2023-03-05 14:21:44 +00:00
allcontributors[bot] 69775c6c83
docs: update README.md 2023-03-05 14:21:43 +00:00
allcontributors[bot] 903a4e0909
docs: update .all-contributorsrc 2023-03-05 14:21:10 +00:00
allcontributors[bot] 0eefab5feb
docs: update README.md 2023-03-05 14:21:09 +00:00
Niek van der Maas 1868896c7f Add contributors 2023-03-05 15:19:46 +01:00