Skip to content

Commit

Permalink
fix issue with host preference for query
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySievert committed Aug 28, 2023
1 parent 18416a1 commit a5b8274
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
1.0.1 - August 28, 2023
fix host preference for connecting to ollama for query

1.0.0 - August 26, 2023
initial release
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const query = async () => {

let response;

const host = get_pref('prefs:host') ? get_pref('prefs.host') : '127.0.0.1';
const host = get_pref('prefs:host') ? get_pref('prefs:host') : '127.0.0.1';
const port = get_pref('prefs:port') ? get_pref(prefs.port) : 11434;
const url = `http://${host}:${port}`;

Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"name": "Dumbar",
"version": "1.0.0",
"version": "1.0.1",
"description": "Menubar app for LLMs using Ollama",
"main": "main.js",
"author": "Jerry Sievert <code@legitimatesounding.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/JerrySievert/Dumbar.git"
},
"devDependencies": {
"electron": "^26.1.0",
"electron-builder": "^24.6.3"
Expand Down

0 comments on commit a5b8274

Please sign in to comment.