Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update Documentation: OLLAMA_ORIGINS='app://obsidian.md' #82

Merged
merged 1 commit into from Apr 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion manifest.json
Expand Up @@ -4,7 +4,7 @@
"description": "Interact with your privacy focused assistant, leveraging Ollama or OpenAI, making your second brain even smarter.",
"author": "Leo310, nicobrauchtgit",
"authorUrl": "https://github.com/nicobrauchtgit",
"version": "1.0.1",
"version": "1.0.2",
"minAppVersion": "1.5.0",
"isDesktopOnly": true
}
4 changes: 2 additions & 2 deletions src/components/Onboarding/OllamaApp.svelte
Expand Up @@ -54,14 +54,14 @@
{#if isRunning}
{#if osType === 'Darwin'}
<li>{$t('onboarding.ollama.app.set_origins')}</li>
<div class="w-max max-w-full text-xs *:flex *:rounded *:pr-1" use:renderMarkdown={(this, '```bash\nlaunchctl setenv OLLAMA_ORIGINS "*"\n```')} />
<div class="w-max max-w-full text-xs *:flex *:rounded *:pr-1" use:renderMarkdown={(this, '```bash\nlaunchctl setenv OLLAMA_ORIGINS "app://obsidian.md*"\n```')} />
<li>
{$t('onboarding.ollama.app.restart')}<span aria-label={$t('onboarding.ollama.app.restart_label')} use:icon={'help-circle'} />
</li>
{:else if osType === 'Windows_NT'}
<li>{$t('onboarding.ollama.app.quit')}<span aria-label={$t('onboarding.ollama.app.quit_label')} use:icon={'help-circle'} /></li>
<li>{$t('onboarding.ollama.app.start_origins')}</li>
<div class="w-max max-w-full text-xs *:flex *:rounded *:pr-1" use:renderMarkdown={(this, '```bash\n$env:OLLAMA_ORIGINS="*"; ollama serve\n```')} />
<div class="w-max max-w-full text-xs *:flex *:rounded *:pr-1" use:renderMarkdown={(this, '```bash\n$env:OLLAMA_ORIGINS="app://obsidian.md*"; ollama serve\n```')} />
{/if}
<OllamaSetup {scrollToBottom} />
{/if}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Onboarding/OllamaDaemon.svelte
Expand Up @@ -34,6 +34,6 @@
</div>
</li>
<li>{$t('onboarding.ollama.deamon.start')}</li>
<div class="w-max max-w-full text-xs *:flex *:rounded *:pr-1" use:renderMarkdown={(this, '```bash\nOLLAMA_ORIGINS="*" ollama serve\n```')} />
<div class="w-max max-w-full text-xs *:flex *:rounded *:pr-1" use:renderMarkdown={(this, '```bash\OLLAMA_ORIGINS="app://obsidian.md*" ollama serve\n```')} />
<OllamaSetup {scrollToBottom} />
</ol>
2 changes: 1 addition & 1 deletion versions.json
Expand Up @@ -15,5 +15,5 @@
"0.5.0": "1.5.0"
"0.6.0": "1.5.0"
"1.0.0": "1.5.0"
"1.0.2": "1.5.0"
}