logancyang_obsidian-copilot/src
Zero Liu 37bea9a65c
fix(ollama): route through safeFetch when enableCors is set (#2382)
Other OpenAI-compatible providers (LM Studio, OpenAI-format, SiliconFlow,
etc.) already pass a fetch override so requests can go through Obsidian's
requestUrl API. The Ollama branch was missing this wiring, so toggling
"Enable CORS" on an Ollama model had no effect and mobile (WKWebView)
requests to http:// Ollama hosts failed with "Load failed" due to CORS /
mixed-content blocking.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-04 15:48:45 -07:00
..
cache Clean up dead code and update readme for privacy disclosure (#2071) 2025-12-15 20:50:46 -08:00
commands Refactor Miyo integration for folder API (#2331) 2026-03-30 09:05:34 +09:00
components Refactor Miyo integration for folder API (#2331) 2026-03-30 09:05:34 +09:00
context Audit context envelope, tag alignment, artifact dedup, and logging (#2164) 2026-02-07 21:18:25 -08:00
contexts feat: New Setting UI. (#955) 2025-01-13 22:32:20 -08:00
core feat(lm-studio): use Responses API for LM Studio models (#2306) 2026-03-16 19:37:38 -07:00
editor fix: Quick Ask/Command panel positioning overhaul (#2278) 2026-03-13 21:50:01 -07:00
hooks feat: drag relevant notes and sources into editor to insert wikilinks (#2288) 2026-03-13 11:56:55 -07:00
imageProcessing Improve custom command (#1942) 2025-10-20 17:52:50 -07:00
integration_tests Composer V2: Replace replaceInFile with editFile as the primary targeted-edit tool (#2305) 2026-03-17 18:51:39 +09:00
lib Add tw prefix to tailwind (#1497) 2025-05-31 22:30:54 -07:00
LLMProviders fix(ollama): route through safeFetch when enableCors is set (#2382) 2026-05-04 15:48:45 -07:00
memory Add CRUD to Saved Memory (#1929) 2025-10-22 23:33:35 -07:00
mentions feat: add Firecrawl and Supadata self-host support for web search and YouTube (#2196) 2026-02-19 20:44:39 -08:00
miyo feat(miyo): add toggle to search all indexed content (#2353) 2026-04-10 16:15:57 +09:00
search feat(miyo): add toggle to search all indexed content (#2353) 2026-04-10 16:15:57 +09:00
services fix: support both classic and modern YouTube transcript panel DOM structures (#2286) 2026-03-12 20:59:56 -07:00
settings feat(miyo): add toggle to search all indexed content (#2353) 2026-04-10 16:15:57 +09:00
state feat: implement auto-compact context with map-reduce summarization (#2106) 2026-01-13 22:15:24 -08:00
styles fix(agent): improve inline citations, query dedup, and answer source priority (#2300) 2026-03-14 23:41:31 -07:00
system-prompts fix(ui): improve system prompt template syntax hints (#2235) (#2245) 2026-03-02 21:58:29 -08:00
tests feat: Add project new context loading ui. (#1695) 2025-08-08 09:59:00 -07:00
tools refactor(miyo): rename folderPath to folderName and send relative path in parse-doc (#2348) 2026-04-08 11:05:24 +09:00
types Address quick ask (#2146) 2026-02-03 20:04:10 -08:00
utils feat: unify Azure OpenAI and Azure Foundry into single Azure provider (#2291) 2026-03-14 16:41:14 -07:00
aiParams.ts feat(openrouter): add per-model toggle for prompt caching (#2318) 2026-03-20 16:20:54 -07:00
chainFactory.ts feat: Improve error handling architecture across chain runners. (#1931) 2025-10-23 17:00:23 -07:00
chainUtils.ts fix: defense-in-depth overrides to prevent tiktoken CDN timeout in Plus mode (#2283) 2026-03-13 21:48:13 -07:00
chatUtils.toolMarkers.test.ts Implement modular context compaction architecture (#2159) 2026-02-06 21:52:33 -08:00
chatUtils.ts Implement modular context compaction architecture (#2159) 2026-02-06 21:52:33 -08:00
composerUtils.ts Squash preview (#1502) 2025-05-30 20:06:25 -07:00
constants.ts feat(miyo): add toggle to search all indexed content (#2353) 2026-04-10 16:15:57 +09:00
context.ts Listen to active note changes (#1015) 2025-01-06 23:23:56 -08:00
contextProcessor.dataview.test.ts Support dataview result in active note (#1918) 2025-10-12 19:05:55 -07:00
contextProcessor.embeds.test.ts Support embedded note (#1995) 2025-10-31 13:45:11 -07:00
contextProcessor.selectedText.test.ts Address quick ask (#2146) 2026-02-03 20:04:10 -08:00
contextProcessor.ts feat(tools): add base:create command and .base active note support (#2303) 2026-03-15 17:08:14 -07:00
encryptionService.test.ts fix: replacing Node's Buffer with npm's buffer package. (#1306) 2025-03-02 19:04:05 -08:00
encryptionService.ts feat: add GitHub Copilot integration with improved robustness (#2110) 2026-01-14 15:01:47 -08:00
error.ts feat: add confirmation dialog before clearing Miyo index (#2211) 2026-03-03 11:11:13 +09:00
errorFormat.ts Implement log file (#1804) 2025-09-10 22:34:57 -07:00
langchainStream.test.ts Improve new user onboarding by removing notice on missing api key (#2063) 2025-12-11 13:44:21 -08:00
langchainStream.ts feat: Improve error handling architecture across chain runners. (#1931) 2025-10-23 17:00:23 -07:00
logFileManager.ts Update log file (#2014) 2025-11-08 23:02:55 -08:00
logger.ts feat: add search explanation table in log (#1805) 2025-09-11 01:05:34 -07:00
main.ts fix(tools): replace cachedRead with vault.read in agent/tool paths (#2274) 2026-03-10 14:53:54 -07:00
noteUtils.ts Throttle number of links returned (#998) 2025-01-02 18:18:56 -08:00
plusUtils.ts Rename enableMiyoSearch to enableMiyo and scope Miyo to Plus/agent chains (#2201) 2026-02-21 21:27:54 -08:00
rateLimiter.ts Add configurable batch size, update rps (#1240) 2025-02-11 22:20:30 -08:00
types.ts Add Editor "Quick Ask" Floating Panel + Persistent Selection Highlights (#2139) 2026-02-03 17:37:33 -08:00
utils.cleanMessageForCopy.test.ts Composer V2: Replace replaceInFile with editFile as the primary targeted-edit tool (#2305) 2026-03-17 18:51:39 +09:00
utils.test.ts feat: Add comprehensive system prompt management system. (#1969) 2026-01-13 21:38:17 -08:00
utils.ts Composer V2: Replace replaceInFile with editFile as the primary targeted-edit tool (#2305) 2026-03-17 18:51:39 +09:00