Skip to content

Support more chain types, implement vector search powered by huggingface inference api #34

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 7 commits into from
May 25, 2023

Conversation

logancyang
Copy link
Owner

@logancyang logancyang commented May 25, 2023

  • Added ChainFactory for more singleton chain instances of different types
  • Added logic for vector search powered by Huggingface Inference API, will ship this in the next minor release.

Problems encountered:

  • Streaming causes ConversationalRetrievalQAChain to always start answers with a rephrased question Streaming causes LLM to always start answers with a rephrased version of the question langchain-ai/langchainjs#754
    • Need to wait and test more and wait for this fix to launch "Use Active Note as Context" for long notes.
  • Refused to set unsafe header "User-Agent" error, happens only when there's non-streaming ChatOpenAI. This is unfortunate because LangchainJS is using openai-node which causes this error. The recommended way is to have a server that uses LangchainJS and openai-node, but this is a pure client app. Avoid non-streaming for now.

@logancyang logancyang merged commit ab2b5e5 into master May 25, 2023
@logancyang logancyang deleted the support-more-chain-types branch May 25, 2023 22:49
logancyang added a commit that referenced this pull request May 30, 2025
commit aaba478fabb58281fdecf1f053eb1412c926d3e5
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 30 15:20:58 2025 -0700

    Make saveDB non-blocking to avoid frozen UI (#56)

commit 0d7c9893102743dd7558f365e11477d7d18939fa
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat May 31 07:17:27 2025 +0900

    Append copilot system prompt (including composer) to project prompt. (#48)

commit a74ac79ef8ea8d98ed5abed3982e87b3bb87eac1
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat May 31 07:16:55 2025 +0900

    Composer: Rename "Apply" to "Preview" (#54)

commit b205c3f3b68d4891b6b019ba69eaea01879e17f6
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 27 21:10:26 2025 -0700

    Make saveDB non-blocking to avoid frozen UI (#52)

commit 535ac3e7d64c2cc7d794d09a8fd5e35cfa09d081
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 27 15:39:26 2025 -0700

    Implement word completion (#49)

commit f2b324e336c3f0825354e1ee0912bfca44b429b4
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat May 24 04:45:30 2025 +0900

    Change composer output to JSON format (#46)

commit 4f9a0b0332ef984cb1197f8812e98d88ef091603
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 14:48:59 2025 -0700

    chore: Update version to 2.9.0-preview-250520 (#44)

commit 16ccc5795572427143a8a25ddaac0d0cfa146d97
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 14:40:55 2025 -0700

    Fix plus embedding switching (#43)

commit 3d8c6dfb668e6e820d17346cdf3e23310333ba60
Merge: c4502b0 7031ddb
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 12:40:26 2025 -0700

    fix: Respect autosave setting with new chat command (#42)

commit 7031ddbb342acc28cd7f776897ed85e01162af94
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 11:58:23 2025 -0700

    fix: Respect autosave setting with new chat command

commit c4502b07b0f02d36b49fbb8948d6d6ae85472aeb
Merge: d4c4be5 1d220e1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 20:17:43 2025 -0700

    2.9.0-preview-250518 (#41)

commit 1d220e1839cb8bee930a8359978505e455d45fb0
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 19:59:01 2025 -0700

    chore: Update descriptions in manifest and package files to enhance clarity and branding

commit 12aa7e54899b5ec7efbc07affce9a7e76910ddc2
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 19:56:32 2025 -0700

    Prerelease 2.9.0-preview-250518

commit d4c4be556bd7b087f69121f0834446926fad7be7
Merge: 1716d20 ed2cc2c
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 18:51:13 2025 -0700

    feat: Optimize the selection logic of the dropdown list in the chat/embedding model (#33)

commit 1716d202411d162bda19a6f09eed2eaff45f0ca7
Merge: 5b20b47 6a64a64
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 16:40:02 2025 -0700

    Allow more file types in projects mode (#40)

commit 6a64a64c51d06c6fd2acf0be6d180df032c698b1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 16:36:34 2025 -0700

    Allow more file types in projects mode

commit 5b20b47e5d903903111f737d8aa89ec2facd665b
Merge: cd94b03 36d9da3
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 14:53:44 2025 -0700

    Clear copilot cache command should clear all types of cache (#39)

commit 36d9da345bdbdd9678e5d3fa1247587c95bd2045
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 14:47:55 2025 -0700

    refactor: Update FileCache instance to use default cache directory

commit 1d80d31edd19a24af10f955e60c5736ca0dc4732
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 14:44:02 2025 -0700

    Clear copilot cache command should clear all types of cache

commit cd94b0321141dc54bb02eaaca6985483e31792a3
Merge: 4c553a0 6502541
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 13:27:42 2025 -0700

    Implement project-specific chat history (#38)

commit 65025412f58985e864aabe949e0aa253d2c65bb9
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 13:09:04 2025 -0700

     Reload context on project modal update

commit 2ff8269d9cc421c425947f34080462fb8b6f2a3f
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:58:38 2025 -0700

    refactor: Update project identifier in chat metadata to use project name instead of ID

commit 36dc52e93d3329168c8e1e11f957f14427dd115c
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:54:41 2025 -0700

    feat: Implement project-specific chat history saving and loading

commit 1778dd9b8874c71fface0db4a54a60f6f4623a3d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:21:36 2025 -0700

    Add copy button on user message

commit 656aef8f5dac2321ad227e00dcc599e1ab439e0a
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:19:53 2025 -0700

    Add confirm modal to force rebuild index button

commit cc0fe12ca9103f91b7084adf013f2e7d6f0c8c0a
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:18:25 2025 -0700

    Update projects mode label

commit 4c553a0e1c272fea40a3b18563e7f0016ab876a5
Merge: 40235ce 5249ff9
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 10:43:35 2025 -0700

    feat: Support send the msg by shift+enter on mobile. (#26)

commit 40235ce1f654e896308e153cfa005c839e653508
Merge: ac94aea 4d07452
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 09:58:22 2025 -0700

    fix: Fix the issue with the failed request to the Anthropic list model API. (#34)

commit ac94aea5195b4696c07ee618584d96aec31383fd
Merge: bb6bc33 e45b838
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 09:58:00 2025 -0700

    fix: Fixed the issue where current chat history was lost when changing settings. (#37)

commit 5249ff9e8671fd53fd3b033d29828679ca0d8974
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 18:47:41 2025 +0800

    feat: Support send the msg by shift+enter on mobile.

commit e45b83858911ddb68ea93e4311d4fc2bd86613e8
Author: yhw <emt934841028@gmail.com>
Date:   Sun May 18 23:31:48 2025 +0800

    fix: Fixed the issue where current chat history was lost when changing settings.

commit 4d07452c856a00037b2019624fc37ab1299a53ff
Author: yhw <emt934841028@gmail.com>
Date:   Sun May 18 12:31:09 2025 +0800

    fix: remove the misleading popup when fetch list api successful .

commit bb6bc33809502ca446f68e9e00700805c746a3bc
Merge: 69ac09b 75eacd7
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 19:08:49 2025 -0700

    Projects CAG v0 (#36)

commit 75eacd788b716ffeedff7f86b0550e9cc70e61a0
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 19:04:59 2025 -0700

    Fix test

commit 8d6503c885172ca088bd7819a2503124fc568218
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 18:34:54 2025 -0700

    Add reloading and force rebuilding project context in ChatControls

commit 236dbc4ca3486c196a4d39bb27a03278cac5aac0
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 16:02:52 2025 -0700

    Improve project context management with dedicated file cache

commit da83b3f0855bad0a1cda8a3cbba78cb0ae650f86
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 14:30:13 2025 -0700

    Implement project context rebuild

commit 474987c44573d99861646da8ca18b78706e26a28
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 13:19:47 2025 -0700

    Implement confirmation modal for clearing project context cache in ChatControls

commit 69ac09b15764453a2e0c56e19bf59421610d7a16
Merge: 7622cc9 7785098
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 00:51:12 2025 -0700

    Treating tags in prompt as tags in note properties. (#35)

commit ccc42bdc2120ade970fe4019dc21e7cc4504c2e1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 00:41:07 2025 -0700

    Add Docs4llm API integration and response handling; enhance project context with file details

commit 77850989317fdf6378b82dad29550c025c355bff
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Sat May 17 16:38:47 2025 +0900

    Treating tags in prompt as tags in note properties.

commit b298e38e16f8659414db447895843c3f6b50e6a8
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 17:13:49 2025 -0700

    Add project context cache clearing in chat controls

commit bbeacb4036f1c960f807d1926ea911935f4ddc0e
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 16:32:02 2025 -0700

    Implement file context management

commit 115619f2e1d6ab07ea878f40c48889591f1e3a26
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 15:59:48 2025 -0700

    Loop through project loading messages

commit b67408f6737664cc8090dff56fc0c495b024e92b
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 14:29:12 2025 -0700

    Add tooltip for file type inclusions. Add projectEnabled flag to 4.1 and gemini pro.

commit 857bbb599d33520b971a069e68c7a14f7337ae57
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 13:43:39 2025 -0700

    Update maxTokens in DEFAULT_SETTINGS to 6000

commit 12eaa50a1e0990ea279e3b0714a69ede12acb460
Author: wyh <emt934841028@gmail.com>
Date:   Fri May 16 14:58:30 2025 +0800

    fix: Fix the issue with the failed request to the Anthropic list model API.

commit ed2cc2c9c14218fbdac692c7c33fdb47ca8972de
Author: wyh <emt934841028@gmail.com>
Date:   Fri May 16 14:26:31 2025 +0800

    feat: Optimize the selection logic of the dropdown list in the chat/embedding model.

commit 7622cc9c64c4fef2139fd9cda44ada5892a315dd
Merge: c506a09 b36d3ae
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 21:10:21 2025 -0700

    Fix main circular dependency (#32)

commit b36d3ae58a4390fcd9b70e2ca6089545abfae7c0
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 21:08:07 2025 -0700

    Fix main circular dependency

commit c506a090a59d7d0019b30c90a01e12fd4caff125
Merge: a48156d b74c815
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 21:04:31 2025 -0700

    Revert "UX: Optimize the selection logic of the dropdown list in the model." (#31)

commit b74c8153f500e63c8cde8e2fffbb6a716675fee1
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:57:38 2025 -0700

    Revert "UX: Optimize the selection logic of the dropdown list in the model."

commit a48156d8cac2ffbeb71a1c0a5fa052ab73290cd4
Merge: d9e227b 0d76890
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:53:40 2025 -0700

    UX: Optimize the selection logic of the dropdown list in the model. (#27)

commit d9e227b7e42c5f8b2396574fd40a10259e6cc30b
Merge: 1ceb603 2b1d809
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:53:23 2025 -0700

    Remove the up down navigation in chat input (#30)

commit 1ceb603a642f213f703b660937222c9d2f9cd205
Merge: d7d12dd a4697ba
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:53:10 2025 -0700

    UX: Support The custom prompt list can be sorted alphabetically or by time (#25)

commit 2b1d80985bc02a9a3799125d9a817600b08e292d
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:49:27 2025 -0700

    Remove the up down navigation in chat input

commit d7d12dd5c6b4025e7cbbfc332be73358a6468e3e
Merge: 2e45d51 eb72bfe
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:04:32 2025 -0700

    Add Claude 3.7 sonnet thinking support (#29)

commit eb72bfea0d820128059c457b590223f7916091b1
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 19:53:03 2025 -0700

    Support claude 3.7 sonnet thinking tokens

commit 2e45d517f17e5fe5617a253f4e5db71b2e49e1c7
Merge: f1c3f91 789fb77
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 19:47:52 2025 -0700

    Fix canvas example in compoer prompt. (#28)

commit 789fb77e18a72be787a0bb6b513c7cef36ac53d8
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Fri May 16 11:44:56 2025 +0900

    Fix canvas example in compoer prompt.

commit a4697ba7f86740fc7a39c44d05a2906456f52f98
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 19:27:42 2025 +0800

    feat: Support The custom prompt list can be sorted alphabetically or by time.

commit 3afa2627bd35d9161fae4c2fe71111542e5121f3
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 16:59:40 2025 -0700

    Update chat model constants

commit 7d5c2c217844175adec2626a860dcea49359c26b
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 16:28:21 2025 -0700

    Implement model table refresh for chat and embedding models in ModelSettings and ModelTable components

commit 87bf3aecc942c2ba6fe33cfce0898b851f2f9d70
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 15:46:38 2025 -0700

    Add project mode validation for chat models in ChainManager

commit d9a0929c31524ea8be7493aebe1ef65591b9defb
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 13:28:58 2025 -0700

    Enhance project context cache management with new atomic operations for markdown and URL handling

commit f1c3f911d9cfb1d6ed340a02370c8b247cf562a2
Merge: 271b24a 23bf9d9
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 11:54:27 2025 -0700

    feat: Support the model list is sorted in alphabetical order when add the chat model in Modal. (#24)

commit 271b24adbccefa4e22921e18a6e7e04d404214c2
Merge: 8c4ee81 1e8d190
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 11:51:27 2025 -0700

    some project-based feature bug fix (#20)

commit 0d76890dc9764e03204fe3950a9729aa62dadbd0
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 21:08:10 2025 +0800

    fix: Optimize model validation and API Key verification process.

commit 23bf9d9f1c034b429166910a55242ab8fc91d3df
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 16:57:52 2025 +0800

    feat: Support model selection list sorted alphabetically.

commit 8c4ee8107080862f652782b95ded3b0442015866
Merge: 5ac8442 f6a0d53
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 22:44:48 2025 -0700

    feat: Support quick addition of models。 (#19)

commit 5ac8442ce4be43faf0e135e555481ae3a33ac2a2
Merge: 61d7dbb 75b245e
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:37:43 2025 -0700

    Do not trigger autocomplete for note title (#23)

commit 75b245e487097cfd8c232d956f597c9ce1758ac6
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:24:06 2025 -0700

    Do not trigger autocomplete for note title

commit 61d7dbbc9c5fe742599604d7885de81c5e6f1aba
Merge: d01134d 0080f33
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:10:20 2025 -0700

    Some quality-of-life updates (#22)

commit 0080f3332a78ae9cdbeb63e7948eb4ff2cb7f4e0
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:03:49 2025 -0700

    Respect IncludeActiveNote setting at New Chat

commit 5944c8f95c0447ef50bd700d8e6bc01156c0b049
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 22:03:15 2025 -0700

    Suppress token count warnings everywhere

commit ca94da9b6c0d5568a1e8f146838e78dd6a661ce0
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 21:47:25 2025 -0700

    Rename settings for clarity

commit cdd011f06c332879b916b05179e0cf9f822fc68f
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 21:40:06 2025 -0700

    Add force reindex button to 3-dot menu

commit 7e0cfa634222ba9e9357664e6c347f206f6afb77
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 15:51:08 2025 -0700

    Enhance token counting with fallback estimation and suppress warnings

commit 8a05e5bd844284f7e6efa6ad0194948a04f94d40
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 15:05:13 2025 -0700

    Active note setting should only work in Plus mode

commit 050d6d95e7b10f4b07398e1753a131ad3fd9be23
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 14:53:19 2025 -0700

    Add setting to include current note as context

commit 16e6c481cec8970c7762628b12b2f13a38e08f02
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:50:10 2025 -0700

    Conditional rendering for "Save Chat as Note" button based on autosave setting

commit 46fd747ba21a988c03ea37f8f30ee61365d35355
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:47:25 2025 -0700

    Add chat history loading button

commit 7358f37f17688be8d2fd55ae8b08c69ea6a02af2
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:27:28 2025 -0700

    Add new chat command

commit 710d893cd80c831cf138ea4ead45baea00866a7e
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:15:57 2025 -0700

    Stop opening note on Save Chat as Note

commit d01134d451b0ccc04b363c159b98388954d3da49
Merge: c41bd9d 73a57cd
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 22:19:13 2025 -0700

    Add autocomplete settings (#21)

commit 73a57cd953b61684c981414ebd3b603264f118a2
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 22:15:53 2025 -0700

    Enable additional context in autocomplete and update settings UI

commit c10fe737f70ef77ff77bb969ff88ad3f3f613f6d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 21:18:27 2025 -0700

    Add Copilot Plus settings and update related components

commit ddf831da70438fd956d62e7f28fcf152c8d1297d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 17:35:01 2025 -0700

    Update command name

commit c5ab1a69035dedf72d1df7fc4b5e2c3472b53c96
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 17:17:59 2025 -0700

    Update AutocompleteSettings component to include a "Plus required" label for clarity

commit fefad8cf311295a1d6dc6ff6482c320808b98fb1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 17:06:08 2025 -0700

    Add toggle command for Copilot autocomplete

commit e8ef2a9693d3fcabe3f5a1dcbbca2fb3d27a174f
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 16:58:01 2025 -0700

    Refactor autocomplete settings to use a select dropdown for key binding

commit 0d0fe3200a6dbd565a62fc4bd4b5280bd3cdef6d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 10:44:03 2025 -0700

    Add Autocomplete Settings tab

commit 1e8d190a5a44354d5d1eda8dfa1f30b20daf4161
Author: yhw <emt934841028@gmail.com>
Date:   Sat May 10 23:38:42 2025 +0800

    feat: Refactor project caching functionality.

commit 91118511fffcee17b6535ad8e7480d20411bfeea
Author: yhw <emt934841028@gmail.com>
Date:   Sat May 10 23:20:38 2025 +0800

    fix: delete the project old cache.

commit ae92b666d148605dce0d8e6ef1a19fd750e61d60
Author: yhw <emt934841028@gmail.com>
Date:   Sat May 10 23:15:59 2025 +0800

    fix: delete the project old cache.

commit f6a0d53fc0491006cf2494d99615291f724ae3cb
Author: wyh <emt934841028@gmail.com>
Date:   Fri May 9 19:19:51 2025 +0800

    feat: Support quick addition of models。

commit dc1083a37c277053d1876c9598da0152c9c30e33
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 17:08:25 2025 -0700

    Add autocomplete post-processing functionality with context detection

commit c41bd9dec75e5075aa95d60cb260ad132c54e545
Merge: 1d043c2 778aad0
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 16:03:33 2025 -0700

    Only add composer prompt for plus users. (#16)

commit 1d043c27d780b98fdbef770538575287e27f7a7a
Merge: 2d22438 ff636f6
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 16:03:06 2025 -0700

    Update FAQ in README.md (#18)

commit ff636f63d9da1610b7283e9743dd3eabfb7ee420
Author: Run Zhou <happycdi@gmail.com>
Date:   Thu May 8 15:15:50 2025 -0700

    Add error code to FAQ for explicitity

commit 778aad0cd461ff01f56c963d3415f0d964dcb53a
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Fri May 9 07:05:34 2025 +0900

    Remove debugging output

commit 8079561154a487b1f357b4cd258c3dd248884bc1
Author: Run Zhou <happycdi@gmail.com>
Date:   Thu May 8 12:21:45 2025 -0700

    Update FAQ

commit 2d22438280948c7428bb45fcfb9f7646cd44d6ee
Merge: d62fca7 cfe1512
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 10:06:32 2025 -0700

    Enable integration tests in CI (#17)

commit cfe15125e5fca631974ffe273299b2862f112b4b
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 20:34:12 2025 +0900

    Fail the test if API_KEY is missing

commit 96df0dd99bab7120def56a5e69006df67ad92a8f
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 20:31:29 2025 +0900

    Fix typo

commit 72d98337c873b7e11ee023d1c02982ef63ea8a8a
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 20:27:39 2025 +0900

    Enable integration tests in CI

commit f9b8177cb3b5e1b537ad6eec6a260cef3713ad07
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 08:51:16 2025 +0900

    Only add composer prompt for plus users.

commit d62fca776bd2fa404a83ebcc27f19706389f8ae2
Merge: 237b36a dd2d1c4
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 6 14:34:01 2025 -0700

    Revamp README.md into a quickstart guide (#4)

commit dd2d1c4191d4f46de1e17bae895a6df7f578d862
Author: Run Zhou <happycdi@gmail.com>
Date:   Tue May 6 12:26:45 2025 -0700

    Update README.md in response to feedback

commit 54cb36ef2b81f070b9cfd7970b3bd4452ed0d087
Author: Run Zhou <happycdi@gmail.com>
Date:   Mon May 5 20:43:33 2025 -0700

    Update README with image file path corrected

commit 861884e827793079bf2a0a9edc2067bed4d134cf
Author: Run Zhou <happycdi@gmail.com>
Date:   Mon May 5 20:17:46 2025 -0700

    Update README

commit b1c24bd2517859f8e129fbc8626a788e7b62ca3c
Author: Run Zhou <happycdi@gmail.com>
Date:   Wed Apr 23 16:13:58 2025 -0700

    Revamp README.md into a 2-minute quickstart guide for onboarding new Obsidian Copilot users. This version contains only GIF placeholders.

commit 237b36abf3ed00a5dc51bccda4d1577f6188d7c1
Merge: 69ec5f9 6640a67
Author: Logan Yang <logancyang@gmail.com>
Date:   Mon May 5 09:15:11 2025 -0700

    Remove redundant heading from composer new note (#15)

commit 6640a6766040833928420210bbfe096249961568
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Mon May 5 23:03:48 2025 +0900

    Remove redundant heading from composer new note

commit 69ec5f98ef560be65bedbcb210030a43286bb464
Merge: 51bcc4a a30f8f9
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 4 16:40:09 2025 -0700

    Add composer integration tests (#12)

commit a30f8f9742f3f8ecc68f3c2855dbe9a01b085067
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 22:40:14 2025 +0900

    Add docs for prompt testing

commit 10111f5b70061ee2507fe0b989dd6f14e48e909d
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 19:22:33 2025 +0900

    Fix package-lock.json

commit 92fe52c5427e461fd7159aec0ded4a0ca86b1efb
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 19:19:38 2025 +0900

    Exclude integration tests from "npm test"

commit df6d857742c13b3d8628e47b07498d3331dad729
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 19:11:21 2025 +0900

    Add some basic composer tests

commit 51bcc4a337872b5d185025b0c7f8f45da365982f
Merge: a68fc81 f7d454b
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed Apr 30 18:25:21 2025 -0700

    Composer: Replace intermediate output with loading text (#11)

commit f7d454b71ef6680a77f9700c03b7fc646a28bbdf
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Wed Apr 30 10:28:22 2025 +0900

    Show loading text for intermediate composer output.

commit ce2d524135c55eaba593c837a7945cd9b2a75446
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Wed Apr 30 09:50:37 2025 +0900

    Catch file content in composer rendering

commit a68fc81b803f29cf59de9c3ccfc9b8af4d49ee70
Merge: 00d53cf 3fda5a2
Author: Logan Yang <logancyang@gmail.com>
Date:   Mon Apr 28 18:55:54 2025 -0700

    Update prompt for supporting canvas edit (#9)

commit 3fda5a21db5395d288ef2a021b77d18e95e99972
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Tue Apr 29 08:29:15 2025 +0900

    Update prompt for supporting canvas edit

commit 00d53cf3dcd8dfd1517aece0d190086cfa88d430
Merge: cbe7ca4 0bfe9d2
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun Apr 27 21:40:25 2025 -0700

    Move composer prompts to copilot system prompt (#6)

commit 0bfe9d25bed7fe7ea0475311c8212e069150b4b2
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 22:58:56 2025 +0900

    More guardrails in the prompt

commit 45fee93bfb13ea17b7207941f0d0f2a946483a59
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 22:35:20 2025 +0900

    Add prompt for folder preference

commit e73e1942050c0ee87ec1391ee473ce5d1273e145
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 22:33:02 2025 +0900

    Only show relevant changes in md block and add a copy button

commit bb59f60cf32af9ca09602e9fd2db82ae4168ff60
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 16:20:41 2025 +0900

    Use chat system prompt for creating composer codeblocks.

commit cbe7ca45f7e175db4255897b984ae6765e98e2df
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu Apr 24 12:56:35 2025 -0700

    Bump to 2.9.0-preview-250424

commit c0226836490415e87e2acf2defff6a2b11a02c0a
Merge: 2abbda7 7e74bd2
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu Apr 24 12:11:10 2025 -0700

    Let composer prefer existing folder (#5)

commit 7e74bd28d217c4c5cb41a9772c29fa9aa915c45d
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Thu Apr 24 18:10:09 2025 +0900

    Add a guard rail to not missing the note path from the markdown block

commit 37e69f85ad742fcb51c2e9086df19003dc6fc5e5
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Thu Apr 24 11:49:53 2025 +0900

    Let composer prefer existing folder

commit 2abbda70c895b1b60abb1d13097b19eb3080bc50
Merge: c899e5f 29fd86b
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed Apr 23 09:20:33 2025 -0700

    Composer: Remove unused code and small UX improvement.

commit c899e5fab6ce4c9417fab15602c4f07b823958c2
Merge: fa4f8ad d130b83
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed Apr 23 09:20:18 2025 -0700

    Fix JSON parsing from composer

commit d130b833932bf224d2ca2a942fec399416807880
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Wed Apr 23 22:22:46 2025 +0900

    Fix JSON parsing from composer

commit 29fd86bf178e7fd00d5af3dbed7836f8cca5330e
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Wed Apr 23 14:33:11 2025 +0900

    Composer: Remove unused code and small UX improvement.

commit fa4f8ad56610e31c7093287c4ec1dda9772000c8
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 14:45:50 2025 -0700

    Update github action

commit 1db4cceed84018bce7cad3d4a2b820ba8fee0455
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 14:32:52 2025 -0700

    Update to 2.9.0-preview-250422

commit a1ba142ded1ad3061f0c5ac9adc1989978e080a9
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 16:26:58 2025 -0700

    Fix image recognition issue

commit d8f3b120d53fcf07fe9f02ac2022419ad81aae85
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 14:23:18 2025 -0700

    Fix build

commit 684a3fc
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 00:03:19 2025 -0700

    Squashed new commits from master to preview

    commit 730d0c8
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Mon Apr 21 20:13:21 2025 -0700

        Switch insert and copy button positions (#1463)

    commit 4efdc94
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Mon Apr 21 16:15:50 2025 -0700

        Fix canvas read (#1462)

    commit 93e4a04
    Author: Emt-lin <41323133+Emt-lin@users.noreply.github.com>
    Date:   Tue Apr 22 07:13:47 2025 +0800

        fix: Add a new line when press the Enter key on mobile. (#1450)

    commit 3c65d79
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Mon Apr 21 15:38:36 2025 -0700

        Implement canvas adaptor (#1461)

        * Implement canvas parser
        * Refactor context processing and custom prompt handling

        - Update `processContextNotes` to exclude notes already processed by custom prompts using a set of excluded note paths.
        - Modify `extractVariablesFromPrompt` to return both a variables map and a set of included files.
        - Adjust `processPrompt` to track included files during prompt processing.
        - Update `Chat` component to handle context notes more efficiently by avoiding duplication of processed notes.
        - Ensure that the `FileParserManager` is initialized with the vault in `main.ts`.

        * Include canvas files in note context modal
        * Fix tests

    commit 6a9085a
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Sun Apr 20 16:14:54 2025 -0700

        Add a toggle to turn custom prompt templating off (#1460)

    commit 448a64c
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Sun Apr 20 15:52:42 2025 -0700

        Update dependencies and support gpt 4.1 series, o4-mini and grok 3 (#1459)

    commit 1d46ab9
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Sun Apr 20 12:14:56 2025 -0700

        Fix image in note logic (#1457)

        * Refactor image processing in note context
        * Add passMarkdownImages setting

    commit f4bf334
    Author: Felix Haase <felix.haase@feki.de>
    Date:   Fri Apr 18 08:19:35 2025 +0200

        Ollama ApiKey support (#1421)

        * Update @langchain/ollama and ollama
        * Ollama: support api keys by passing headers

    commit 19d8b50
    Author: Emt-lin <41323133+Emt-lin@users.noreply.github.com>
    Date:   Fri Apr 18 14:13:25 2025 +0800

        refactor: Optimize some user experiences. (#1441)

    commit fe9b931
    Author: Zero Liu <zerolxy@gmail.com>
    Date:   Sun Apr 13 17:40:42 2025 -0700

        Improve custom command (v3) (#1446)

        * Trim responses and auto focus replace on finishing
        * Make textarea auto scroll to bottom when generating
        * Support custom prompt syntax in custom command
        * Support follow up instruction
        * Fix unit test
        * Allow followup instruction to use custom prompt syntax

    commit 648412a
    Author: Zero Liu <zerolxy@gmail.com>
    Date:   Wed Apr 2 21:44:37 2025 -0700

        Add update notification (#1415)

    commit cb4510e
    Author: Zero Liu <zerolxy@gmail.com>
    Date:   Wed Apr 2 21:43:26 2025 -0700

        Add user_id to broca requests (#1414)

commit 4b4d099
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat Apr 19 08:28:02 2025 +0900

    Composer: Ask for clarification if intent unclear. (#1456)

commit a73c61d
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Thu Apr 10 14:07:39 2025 +0900

    Pass project state to broca (#1436)

commit 88599dc
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Wed Apr 9 03:44:51 2025 +0900

    Refactor Composer: Implement @composer tool. (#1399)

commit b352905
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu Mar 6 22:38:34 2025 -0800

    Squashed 2.9.0 preview 250327

    Update preview version

    Merge latest from Composer

    Support creating new files

    Update version to 2.9.0 preview

    Add minor fixes

    Update autocomplete call and prefix logic

    Merge Project mode into 2.9.0-preview

    Squashed commits from:

    commit a762629
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Tue Mar 25 16:29:31 2025 -0700

        Add projectEnabled flag to CustomModel interface

    To

    commit 1694357
    Author: wyh <emt934841028@gmail.com>
    Date:   Wed Feb 19 14:45:22 2025 +0800

        feat: Support project-based feature.

    Fix package vulnerabilities

    Prerelease 250325

    Update label for PROJECT_CHAIN to "Plus Projects (alpha)" in BasicSettings component
logancyang added a commit that referenced this pull request May 31, 2025
* Squashed commit from 2.9.0-preview

commit aaba478fabb58281fdecf1f053eb1412c926d3e5
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 30 15:20:58 2025 -0700

    Make saveDB non-blocking to avoid frozen UI (#56)

commit 0d7c9893102743dd7558f365e11477d7d18939fa
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat May 31 07:17:27 2025 +0900

    Append copilot system prompt (including composer) to project prompt. (#48)

commit a74ac79ef8ea8d98ed5abed3982e87b3bb87eac1
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat May 31 07:16:55 2025 +0900

    Composer: Rename "Apply" to "Preview" (#54)

commit b205c3f3b68d4891b6b019ba69eaea01879e17f6
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 27 21:10:26 2025 -0700

    Make saveDB non-blocking to avoid frozen UI (#52)

commit 535ac3e7d64c2cc7d794d09a8fd5e35cfa09d081
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 27 15:39:26 2025 -0700

    Implement word completion (#49)

commit f2b324e336c3f0825354e1ee0912bfca44b429b4
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat May 24 04:45:30 2025 +0900

    Change composer output to JSON format (#46)

commit 4f9a0b0332ef984cb1197f8812e98d88ef091603
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 14:48:59 2025 -0700

    chore: Update version to 2.9.0-preview-250520 (#44)

commit 16ccc5795572427143a8a25ddaac0d0cfa146d97
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 14:40:55 2025 -0700

    Fix plus embedding switching (#43)

commit 3d8c6dfb668e6e820d17346cdf3e23310333ba60
Merge: c4502b0 7031ddb
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 12:40:26 2025 -0700

    fix: Respect autosave setting with new chat command (#42)

commit 7031ddbb342acc28cd7f776897ed85e01162af94
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 20 11:58:23 2025 -0700

    fix: Respect autosave setting with new chat command

commit c4502b07b0f02d36b49fbb8948d6d6ae85472aeb
Merge: d4c4be5 1d220e1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 20:17:43 2025 -0700

    2.9.0-preview-250518 (#41)

commit 1d220e1839cb8bee930a8359978505e455d45fb0
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 19:59:01 2025 -0700

    chore: Update descriptions in manifest and package files to enhance clarity and branding

commit 12aa7e54899b5ec7efbc07affce9a7e76910ddc2
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 19:56:32 2025 -0700

    Prerelease 2.9.0-preview-250518

commit d4c4be556bd7b087f69121f0834446926fad7be7
Merge: 1716d20 ed2cc2c
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 18:51:13 2025 -0700

    feat: Optimize the selection logic of the dropdown list in the chat/embedding model (#33)

commit 1716d202411d162bda19a6f09eed2eaff45f0ca7
Merge: 5b20b47 6a64a64
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 16:40:02 2025 -0700

    Allow more file types in projects mode (#40)

commit 6a64a64c51d06c6fd2acf0be6d180df032c698b1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 16:36:34 2025 -0700

    Allow more file types in projects mode

commit 5b20b47e5d903903111f737d8aa89ec2facd665b
Merge: cd94b03 36d9da3
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 14:53:44 2025 -0700

    Clear copilot cache command should clear all types of cache (#39)

commit 36d9da345bdbdd9678e5d3fa1247587c95bd2045
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 14:47:55 2025 -0700

    refactor: Update FileCache instance to use default cache directory

commit 1d80d31edd19a24af10f955e60c5736ca0dc4732
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 14:44:02 2025 -0700

    Clear copilot cache command should clear all types of cache

commit cd94b0321141dc54bb02eaaca6985483e31792a3
Merge: 4c553a0 6502541
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 13:27:42 2025 -0700

    Implement project-specific chat history (#38)

commit 65025412f58985e864aabe949e0aa253d2c65bb9
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 13:09:04 2025 -0700

     Reload context on project modal update

commit 2ff8269d9cc421c425947f34080462fb8b6f2a3f
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:58:38 2025 -0700

    refactor: Update project identifier in chat metadata to use project name instead of ID

commit 36dc52e93d3329168c8e1e11f957f14427dd115c
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:54:41 2025 -0700

    feat: Implement project-specific chat history saving and loading

commit 1778dd9b8874c71fface0db4a54a60f6f4623a3d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:21:36 2025 -0700

    Add copy button on user message

commit 656aef8f5dac2321ad227e00dcc599e1ab439e0a
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:19:53 2025 -0700

    Add confirm modal to force rebuild index button

commit cc0fe12ca9103f91b7084adf013f2e7d6f0c8c0a
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 12:18:25 2025 -0700

    Update projects mode label

commit 4c553a0e1c272fea40a3b18563e7f0016ab876a5
Merge: 40235ce 5249ff9
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 10:43:35 2025 -0700

    feat: Support send the msg by shift+enter on mobile. (#26)

commit 40235ce1f654e896308e153cfa005c839e653508
Merge: ac94aea 4d07452
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 09:58:22 2025 -0700

    fix: Fix the issue with the failed request to the Anthropic list model API. (#34)

commit ac94aea5195b4696c07ee618584d96aec31383fd
Merge: bb6bc33 e45b838
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 18 09:58:00 2025 -0700

    fix: Fixed the issue where current chat history was lost when changing settings. (#37)

commit 5249ff9e8671fd53fd3b033d29828679ca0d8974
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 18:47:41 2025 +0800

    feat: Support send the msg by shift+enter on mobile.

commit e45b83858911ddb68ea93e4311d4fc2bd86613e8
Author: yhw <emt934841028@gmail.com>
Date:   Sun May 18 23:31:48 2025 +0800

    fix: Fixed the issue where current chat history was lost when changing settings.

commit 4d07452c856a00037b2019624fc37ab1299a53ff
Author: yhw <emt934841028@gmail.com>
Date:   Sun May 18 12:31:09 2025 +0800

    fix: remove the misleading popup when fetch list api successful .

commit bb6bc33809502ca446f68e9e00700805c746a3bc
Merge: 69ac09b 75eacd7
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 19:08:49 2025 -0700

    Projects CAG v0 (#36)

commit 75eacd788b716ffeedff7f86b0550e9cc70e61a0
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 19:04:59 2025 -0700

    Fix test

commit 8d6503c885172ca088bd7819a2503124fc568218
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 18:34:54 2025 -0700

    Add reloading and force rebuilding project context in ChatControls

commit 236dbc4ca3486c196a4d39bb27a03278cac5aac0
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 16:02:52 2025 -0700

    Improve project context management with dedicated file cache

commit da83b3f0855bad0a1cda8a3cbba78cb0ae650f86
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 14:30:13 2025 -0700

    Implement project context rebuild

commit 474987c44573d99861646da8ca18b78706e26a28
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 13:19:47 2025 -0700

    Implement confirmation modal for clearing project context cache in ChatControls

commit 69ac09b15764453a2e0c56e19bf59421610d7a16
Merge: 7622cc9 7785098
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 00:51:12 2025 -0700

    Treating tags in prompt as tags in note properties. (#35)

commit ccc42bdc2120ade970fe4019dc21e7cc4504c2e1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sat May 17 00:41:07 2025 -0700

    Add Docs4llm API integration and response handling; enhance project context with file details

commit 77850989317fdf6378b82dad29550c025c355bff
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Sat May 17 16:38:47 2025 +0900

    Treating tags in prompt as tags in note properties.

commit b298e38e16f8659414db447895843c3f6b50e6a8
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 17:13:49 2025 -0700

    Add project context cache clearing in chat controls

commit bbeacb4036f1c960f807d1926ea911935f4ddc0e
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 16:32:02 2025 -0700

    Implement file context management

commit 115619f2e1d6ab07ea878f40c48889591f1e3a26
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 15:59:48 2025 -0700

    Loop through project loading messages

commit b67408f6737664cc8090dff56fc0c495b024e92b
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 14:29:12 2025 -0700

    Add tooltip for file type inclusions. Add projectEnabled flag to 4.1 and gemini pro.

commit 857bbb599d33520b971a069e68c7a14f7337ae57
Author: Logan Yang <logancyang@gmail.com>
Date:   Fri May 16 13:43:39 2025 -0700

    Update maxTokens in DEFAULT_SETTINGS to 6000

commit 12eaa50a1e0990ea279e3b0714a69ede12acb460
Author: wyh <emt934841028@gmail.com>
Date:   Fri May 16 14:58:30 2025 +0800

    fix: Fix the issue with the failed request to the Anthropic list model API.

commit ed2cc2c9c14218fbdac692c7c33fdb47ca8972de
Author: wyh <emt934841028@gmail.com>
Date:   Fri May 16 14:26:31 2025 +0800

    feat: Optimize the selection logic of the dropdown list in the chat/embedding model.

commit 7622cc9c64c4fef2139fd9cda44ada5892a315dd
Merge: c506a09 b36d3ae
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 21:10:21 2025 -0700

    Fix main circular dependency (#32)

commit b36d3ae58a4390fcd9b70e2ca6089545abfae7c0
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 21:08:07 2025 -0700

    Fix main circular dependency

commit c506a090a59d7d0019b30c90a01e12fd4caff125
Merge: a48156d b74c815
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 21:04:31 2025 -0700

    Revert "UX: Optimize the selection logic of the dropdown list in the model." (#31)

commit b74c8153f500e63c8cde8e2fffbb6a716675fee1
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:57:38 2025 -0700

    Revert "UX: Optimize the selection logic of the dropdown list in the model."

commit a48156d8cac2ffbeb71a1c0a5fa052ab73290cd4
Merge: d9e227b 0d76890
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:53:40 2025 -0700

    UX: Optimize the selection logic of the dropdown list in the model. (#27)

commit d9e227b7e42c5f8b2396574fd40a10259e6cc30b
Merge: 1ceb603 2b1d809
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:53:23 2025 -0700

    Remove the up down navigation in chat input (#30)

commit 1ceb603a642f213f703b660937222c9d2f9cd205
Merge: d7d12dd a4697ba
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:53:10 2025 -0700

    UX: Support The custom prompt list can be sorted alphabetically or by time (#25)

commit 2b1d80985bc02a9a3799125d9a817600b08e292d
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:49:27 2025 -0700

    Remove the up down navigation in chat input

commit d7d12dd5c6b4025e7cbbfc332be73358a6468e3e
Merge: 2e45d51 eb72bfe
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 20:04:32 2025 -0700

    Add Claude 3.7 sonnet thinking support (#29)

commit eb72bfea0d820128059c457b590223f7916091b1
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 19:53:03 2025 -0700

    Support claude 3.7 sonnet thinking tokens

commit 2e45d517f17e5fe5617a253f4e5db71b2e49e1c7
Merge: f1c3f91 789fb77
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 19:47:52 2025 -0700

    Fix canvas example in compoer prompt. (#28)

commit 789fb77e18a72be787a0bb6b513c7cef36ac53d8
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Fri May 16 11:44:56 2025 +0900

    Fix canvas example in compoer prompt.

commit a4697ba7f86740fc7a39c44d05a2906456f52f98
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 19:27:42 2025 +0800

    feat: Support The custom prompt list can be sorted alphabetically or by time.

commit 3afa2627bd35d9161fae4c2fe71111542e5121f3
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 16:59:40 2025 -0700

    Update chat model constants

commit 7d5c2c217844175adec2626a860dcea49359c26b
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 16:28:21 2025 -0700

    Implement model table refresh for chat and embedding models in ModelSettings and ModelTable components

commit 87bf3aecc942c2ba6fe33cfce0898b851f2f9d70
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 15:46:38 2025 -0700

    Add project mode validation for chat models in ChainManager

commit d9a0929c31524ea8be7493aebe1ef65591b9defb
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 13:28:58 2025 -0700

    Enhance project context cache management with new atomic operations for markdown and URL handling

commit f1c3f911d9cfb1d6ed340a02370c8b247cf562a2
Merge: 271b24a 23bf9d9
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 11:54:27 2025 -0700

    feat: Support the model list is sorted in alphabetical order when add the chat model in Modal. (#24)

commit 271b24adbccefa4e22921e18a6e7e04d404214c2
Merge: 8c4ee81 1e8d190
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 15 11:51:27 2025 -0700

    some project-based feature bug fix (#20)

commit 0d76890dc9764e03204fe3950a9729aa62dadbd0
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 21:08:10 2025 +0800

    fix: Optimize model validation and API Key verification process.

commit 23bf9d9f1c034b429166910a55242ab8fc91d3df
Author: wyh <emt934841028@gmail.com>
Date:   Thu May 15 16:57:52 2025 +0800

    feat: Support model selection list sorted alphabetically.

commit 8c4ee8107080862f652782b95ded3b0442015866
Merge: 5ac8442 f6a0d53
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 22:44:48 2025 -0700

    feat: Support quick addition of models。 (#19)

commit 5ac8442ce4be43faf0e135e555481ae3a33ac2a2
Merge: 61d7dbb 75b245e
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:37:43 2025 -0700

    Do not trigger autocomplete for note title (#23)

commit 75b245e487097cfd8c232d956f597c9ce1758ac6
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:24:06 2025 -0700

    Do not trigger autocomplete for note title

commit 61d7dbbc9c5fe742599604d7885de81c5e6f1aba
Merge: d01134d 0080f33
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:10:20 2025 -0700

    Some quality-of-life updates (#22)

commit 0080f3332a78ae9cdbeb63e7948eb4ff2cb7f4e0
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed May 14 10:03:49 2025 -0700

    Respect IncludeActiveNote setting at New Chat

commit 5944c8f95c0447ef50bd700d8e6bc01156c0b049
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 22:03:15 2025 -0700

    Suppress token count warnings everywhere

commit ca94da9b6c0d5568a1e8f146838e78dd6a661ce0
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 21:47:25 2025 -0700

    Rename settings for clarity

commit cdd011f06c332879b916b05179e0cf9f822fc68f
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 21:40:06 2025 -0700

    Add force reindex button to 3-dot menu

commit 7e0cfa634222ba9e9357664e6c347f206f6afb77
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 15:51:08 2025 -0700

    Enhance token counting with fallback estimation and suppress warnings

commit 8a05e5bd844284f7e6efa6ad0194948a04f94d40
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 15:05:13 2025 -0700

    Active note setting should only work in Plus mode

commit 050d6d95e7b10f4b07398e1753a131ad3fd9be23
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 14:53:19 2025 -0700

    Add setting to include current note as context

commit 16e6c481cec8970c7762628b12b2f13a38e08f02
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:50:10 2025 -0700

    Conditional rendering for "Save Chat as Note" button based on autosave setting

commit 46fd747ba21a988c03ea37f8f30ee61365d35355
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:47:25 2025 -0700

    Add chat history loading button

commit 7358f37f17688be8d2fd55ae8b08c69ea6a02af2
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:27:28 2025 -0700

    Add new chat command

commit 710d893cd80c831cf138ea4ead45baea00866a7e
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 13 13:15:57 2025 -0700

    Stop opening note on Save Chat as Note

commit d01134d451b0ccc04b363c159b98388954d3da49
Merge: c41bd9d 73a57cd
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 22:19:13 2025 -0700

    Add autocomplete settings (#21)

commit 73a57cd953b61684c981414ebd3b603264f118a2
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 22:15:53 2025 -0700

    Enable additional context in autocomplete and update settings UI

commit c10fe737f70ef77ff77bb969ff88ad3f3f613f6d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 21:18:27 2025 -0700

    Add Copilot Plus settings and update related components

commit ddf831da70438fd956d62e7f28fcf152c8d1297d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 17:35:01 2025 -0700

    Update command name

commit c5ab1a69035dedf72d1df7fc4b5e2c3472b53c96
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 17:17:59 2025 -0700

    Update AutocompleteSettings component to include a "Plus required" label for clarity

commit fefad8cf311295a1d6dc6ff6482c320808b98fb1
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 17:06:08 2025 -0700

    Add toggle command for Copilot autocomplete

commit e8ef2a9693d3fcabe3f5a1dcbbca2fb3d27a174f
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 16:58:01 2025 -0700

    Refactor autocomplete settings to use a select dropdown for key binding

commit 0d0fe3200a6dbd565a62fc4bd4b5280bd3cdef6d
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 11 10:44:03 2025 -0700

    Add Autocomplete Settings tab

commit 1e8d190a5a44354d5d1eda8dfa1f30b20daf4161
Author: yhw <emt934841028@gmail.com>
Date:   Sat May 10 23:38:42 2025 +0800

    feat: Refactor project caching functionality.

commit 91118511fffcee17b6535ad8e7480d20411bfeea
Author: yhw <emt934841028@gmail.com>
Date:   Sat May 10 23:20:38 2025 +0800

    fix: delete the project old cache.

commit ae92b666d148605dce0d8e6ef1a19fd750e61d60
Author: yhw <emt934841028@gmail.com>
Date:   Sat May 10 23:15:59 2025 +0800

    fix: delete the project old cache.

commit f6a0d53fc0491006cf2494d99615291f724ae3cb
Author: wyh <emt934841028@gmail.com>
Date:   Fri May 9 19:19:51 2025 +0800

    feat: Support quick addition of models。

commit dc1083a37c277053d1876c9598da0152c9c30e33
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 17:08:25 2025 -0700

    Add autocomplete post-processing functionality with context detection

commit c41bd9dec75e5075aa95d60cb260ad132c54e545
Merge: 1d043c2 778aad0
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 16:03:33 2025 -0700

    Only add composer prompt for plus users. (#16)

commit 1d043c27d780b98fdbef770538575287e27f7a7a
Merge: 2d22438 ff636f6
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 16:03:06 2025 -0700

    Update FAQ in README.md (#18)

commit ff636f63d9da1610b7283e9743dd3eabfb7ee420
Author: Run Zhou <happycdi@gmail.com>
Date:   Thu May 8 15:15:50 2025 -0700

    Add error code to FAQ for explicitity

commit 778aad0cd461ff01f56c963d3415f0d964dcb53a
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Fri May 9 07:05:34 2025 +0900

    Remove debugging output

commit 8079561154a487b1f357b4cd258c3dd248884bc1
Author: Run Zhou <happycdi@gmail.com>
Date:   Thu May 8 12:21:45 2025 -0700

    Update FAQ

commit 2d22438280948c7428bb45fcfb9f7646cd44d6ee
Merge: d62fca7 cfe1512
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu May 8 10:06:32 2025 -0700

    Enable integration tests in CI (#17)

commit cfe15125e5fca631974ffe273299b2862f112b4b
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 20:34:12 2025 +0900

    Fail the test if API_KEY is missing

commit 96df0dd99bab7120def56a5e69006df67ad92a8f
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 20:31:29 2025 +0900

    Fix typo

commit 72d98337c873b7e11ee023d1c02982ef63ea8a8a
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 20:27:39 2025 +0900

    Enable integration tests in CI

commit f9b8177cb3b5e1b537ad6eec6a260cef3713ad07
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 8 08:51:16 2025 +0900

    Only add composer prompt for plus users.

commit d62fca776bd2fa404a83ebcc27f19706389f8ae2
Merge: 237b36a dd2d1c4
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue May 6 14:34:01 2025 -0700

    Revamp README.md into a quickstart guide (#4)

commit dd2d1c4191d4f46de1e17bae895a6df7f578d862
Author: Run Zhou <happycdi@gmail.com>
Date:   Tue May 6 12:26:45 2025 -0700

    Update README.md in response to feedback

commit 54cb36ef2b81f070b9cfd7970b3bd4452ed0d087
Author: Run Zhou <happycdi@gmail.com>
Date:   Mon May 5 20:43:33 2025 -0700

    Update README with image file path corrected

commit 861884e827793079bf2a0a9edc2067bed4d134cf
Author: Run Zhou <happycdi@gmail.com>
Date:   Mon May 5 20:17:46 2025 -0700

    Update README

commit b1c24bd2517859f8e129fbc8626a788e7b62ca3c
Author: Run Zhou <happycdi@gmail.com>
Date:   Wed Apr 23 16:13:58 2025 -0700

    Revamp README.md into a 2-minute quickstart guide for onboarding new Obsidian Copilot users. This version contains only GIF placeholders.

commit 237b36abf3ed00a5dc51bccda4d1577f6188d7c1
Merge: 69ec5f9 6640a67
Author: Logan Yang <logancyang@gmail.com>
Date:   Mon May 5 09:15:11 2025 -0700

    Remove redundant heading from composer new note (#15)

commit 6640a6766040833928420210bbfe096249961568
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Mon May 5 23:03:48 2025 +0900

    Remove redundant heading from composer new note

commit 69ec5f98ef560be65bedbcb210030a43286bb464
Merge: 51bcc4a a30f8f9
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun May 4 16:40:09 2025 -0700

    Add composer integration tests (#12)

commit a30f8f9742f3f8ecc68f3c2855dbe9a01b085067
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 22:40:14 2025 +0900

    Add docs for prompt testing

commit 10111f5b70061ee2507fe0b989dd6f14e48e909d
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 19:22:33 2025 +0900

    Fix package-lock.json

commit 92fe52c5427e461fd7159aec0ded4a0ca86b1efb
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 19:19:38 2025 +0900

    Exclude integration tests from "npm test"

commit df6d857742c13b3d8628e47b07498d3331dad729
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Thu May 1 19:11:21 2025 +0900

    Add some basic composer tests

commit 51bcc4a337872b5d185025b0c7f8f45da365982f
Merge: a68fc81 f7d454b
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed Apr 30 18:25:21 2025 -0700

    Composer: Replace intermediate output with loading text (#11)

commit f7d454b71ef6680a77f9700c03b7fc646a28bbdf
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Wed Apr 30 10:28:22 2025 +0900

    Show loading text for intermediate composer output.

commit ce2d524135c55eaba593c837a7945cd9b2a75446
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Wed Apr 30 09:50:37 2025 +0900

    Catch file content in composer rendering

commit a68fc81b803f29cf59de9c3ccfc9b8af4d49ee70
Merge: 00d53cf 3fda5a2
Author: Logan Yang <logancyang@gmail.com>
Date:   Mon Apr 28 18:55:54 2025 -0700

    Update prompt for supporting canvas edit (#9)

commit 3fda5a21db5395d288ef2a021b77d18e95e99972
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Tue Apr 29 08:29:15 2025 +0900

    Update prompt for supporting canvas edit

commit 00d53cf3dcd8dfd1517aece0d190086cfa88d430
Merge: cbe7ca4 0bfe9d2
Author: Logan Yang <logancyang@gmail.com>
Date:   Sun Apr 27 21:40:25 2025 -0700

    Move composer prompts to copilot system prompt (#6)

commit 0bfe9d25bed7fe7ea0475311c8212e069150b4b2
Author: wenzhengjiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 22:58:56 2025 +0900

    More guardrails in the prompt

commit 45fee93bfb13ea17b7207941f0d0f2a946483a59
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 22:35:20 2025 +0900

    Add prompt for folder preference

commit e73e1942050c0ee87ec1391ee473ce5d1273e145
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 22:33:02 2025 +0900

    Only show relevant changes in md block and add a copy button

commit bb59f60cf32af9ca09602e9fd2db82ae4168ff60
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Fri Apr 25 16:20:41 2025 +0900

    Use chat system prompt for creating composer codeblocks.

commit cbe7ca45f7e175db4255897b984ae6765e98e2df
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu Apr 24 12:56:35 2025 -0700

    Bump to 2.9.0-preview-250424

commit c0226836490415e87e2acf2defff6a2b11a02c0a
Merge: 2abbda7 7e74bd2
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu Apr 24 12:11:10 2025 -0700

    Let composer prefer existing folder (#5)

commit 7e74bd28d217c4c5cb41a9772c29fa9aa915c45d
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Thu Apr 24 18:10:09 2025 +0900

    Add a guard rail to not missing the note path from the markdown block

commit 37e69f85ad742fcb51c2e9086df19003dc6fc5e5
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Thu Apr 24 11:49:53 2025 +0900

    Let composer prefer existing folder

commit 2abbda70c895b1b60abb1d13097b19eb3080bc50
Merge: c899e5f 29fd86b
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed Apr 23 09:20:33 2025 -0700

    Composer: Remove unused code and small UX improvement.

commit c899e5fab6ce4c9417fab15602c4f07b823958c2
Merge: fa4f8ad d130b83
Author: Logan Yang <logancyang@gmail.com>
Date:   Wed Apr 23 09:20:18 2025 -0700

    Fix JSON parsing from composer

commit d130b833932bf224d2ca2a942fec399416807880
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Wed Apr 23 22:22:46 2025 +0900

    Fix JSON parsing from composer

commit 29fd86bf178e7fd00d5af3dbed7836f8cca5330e
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Wed Apr 23 14:33:11 2025 +0900

    Composer: Remove unused code and small UX improvement.

commit fa4f8ad56610e31c7093287c4ec1dda9772000c8
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 14:45:50 2025 -0700

    Update github action

commit 1db4cceed84018bce7cad3d4a2b820ba8fee0455
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 14:32:52 2025 -0700

    Update to 2.9.0-preview-250422

commit a1ba142ded1ad3061f0c5ac9adc1989978e080a9
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 16:26:58 2025 -0700

    Fix image recognition issue

commit d8f3b120d53fcf07fe9f02ac2022419ad81aae85
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 14:23:18 2025 -0700

    Fix build

commit 684a3fc
Author: Logan Yang <logancyang@gmail.com>
Date:   Tue Apr 22 00:03:19 2025 -0700

    Squashed new commits from master to preview

    commit 730d0c8
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Mon Apr 21 20:13:21 2025 -0700

        Switch insert and copy button positions (#1463)

    commit 4efdc94
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Mon Apr 21 16:15:50 2025 -0700

        Fix canvas read (#1462)

    commit 93e4a04
    Author: Emt-lin <41323133+Emt-lin@users.noreply.github.com>
    Date:   Tue Apr 22 07:13:47 2025 +0800

        fix: Add a new line when press the Enter key on mobile. (#1450)

    commit 3c65d79
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Mon Apr 21 15:38:36 2025 -0700

        Implement canvas adaptor (#1461)

        * Implement canvas parser
        * Refactor context processing and custom prompt handling

        - Update `processContextNotes` to exclude notes already processed by custom prompts using a set of excluded note paths.
        - Modify `extractVariablesFromPrompt` to return both a variables map and a set of included files.
        - Adjust `processPrompt` to track included files during prompt processing.
        - Update `Chat` component to handle context notes more efficiently by avoiding duplication of processed notes.
        - Ensure that the `FileParserManager` is initialized with the vault in `main.ts`.

        * Include canvas files in note context modal
        * Fix tests

    commit 6a9085a
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Sun Apr 20 16:14:54 2025 -0700

        Add a toggle to turn custom prompt templating off (#1460)

    commit 448a64c
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Sun Apr 20 15:52:42 2025 -0700

        Update dependencies and support gpt 4.1 series, o4-mini and grok 3 (#1459)

    commit 1d46ab9
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Sun Apr 20 12:14:56 2025 -0700

        Fix image in note logic (#1457)

        * Refactor image processing in note context
        * Add passMarkdownImages setting

    commit f4bf334
    Author: Felix Haase <felix.haase@feki.de>
    Date:   Fri Apr 18 08:19:35 2025 +0200

        Ollama ApiKey support (#1421)

        * Update @langchain/ollama and ollama
        * Ollama: support api keys by passing headers

    commit 19d8b50
    Author: Emt-lin <41323133+Emt-lin@users.noreply.github.com>
    Date:   Fri Apr 18 14:13:25 2025 +0800

        refactor: Optimize some user experiences. (#1441)

    commit fe9b931
    Author: Zero Liu <zerolxy@gmail.com>
    Date:   Sun Apr 13 17:40:42 2025 -0700

        Improve custom command (v3) (#1446)

        * Trim responses and auto focus replace on finishing
        * Make textarea auto scroll to bottom when generating
        * Support custom prompt syntax in custom command
        * Support follow up instruction
        * Fix unit test
        * Allow followup instruction to use custom prompt syntax

    commit 648412a
    Author: Zero Liu <zerolxy@gmail.com>
    Date:   Wed Apr 2 21:44:37 2025 -0700

        Add update notification (#1415)

    commit cb4510e
    Author: Zero Liu <zerolxy@gmail.com>
    Date:   Wed Apr 2 21:43:26 2025 -0700

        Add user_id to broca requests (#1414)

commit 4b4d099
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Sat Apr 19 08:28:02 2025 +0900

    Composer: Ask for clarification if intent unclear. (#1456)

commit a73c61d
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Thu Apr 10 14:07:39 2025 +0900

    Pass project state to broca (#1436)

commit 88599dc
Author: Wenzheng Jiang <jwzh.hi@gmail.com>
Date:   Wed Apr 9 03:44:51 2025 +0900

    Refactor Composer: Implement @composer tool. (#1399)

commit b352905
Author: Logan Yang <logancyang@gmail.com>
Date:   Thu Mar 6 22:38:34 2025 -0800

    Squashed 2.9.0 preview 250327

    Update preview version

    Merge latest from Composer

    Support creating new files

    Update version to 2.9.0 preview

    Add minor fixes

    Update autocomplete call and prefix logic

    Merge Project mode into 2.9.0-preview

    Squashed commits from:

    commit a762629
    Author: Logan Yang <logancyang@gmail.com>
    Date:   Tue Mar 25 16:29:31 2025 -0700

        Add projectEnabled flag to CustomModel interface

    To

    commit 1694357
    Author: wyh <emt934841028@gmail.com>
    Date:   Wed Feb 19 14:45:22 2025 +0800

        feat: Support project-based feature.

    Fix package vulnerabilities

    Prerelease 250325

    Update label for PROJECT_CHAIN to "Plus Projects (alpha)" in BasicSettings component

* Fix build

* Fix composer canvas json generation
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant