ollama implementation

This commit is contained in:
kroryan 2025-05-18 16:08:31 +02:00
parent a6f66e9828
commit f4cb6dd29f
3 changed files with 200 additions and 63 deletions

View file

@ -4978,14 +4978,16 @@
Temperature:
<input id="aiGeneratorTemperature" type="number" min="-1" max="2" step=".1" class="icon-key" />
</label>
<label for="aiGeneratorKey"
>Key:
<label for="aiGeneratorKey" >Key:
<input id="aiGeneratorKey" placeholder="Enter API key" class="icon-key" />
<button
id="aiGeneratorKeyHelp"
class="icon-help-circled"
data-tip="Open provider's website to get the API key there. Note: the Map Genenerator doesn't store the key or any generated data"
data-tip="Open provider's website to get the API key there. Note: the Map Generator doesn't store the key or any generated data"
/>
<div id="ollamaHint" style="display: none; font-size: 0.85em; color: #999; margin-top: 0.5em;">
Using Ollama requires it to be running locally on your machine at http://localhost:11434
</div>
</label>
</div>
</div>