Skip to content

Commit 9b6a2bc

Browse files
committed
reorder
1 parent 246dc7c commit 9b6a2bc

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jaaz",
3-
"version": "1.0.4",
3+
"version": "1.0.5",
44
"description": "AI design agent local desktop app",
55
"author": "weixuanfu",
66
"main": "electron/main.js",

react/src/Settings.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ const PROVIDER_NAME_MAPPING: { [key: string]: { name: string; icon: string } } =
2727
icon: "https://registry.npmmirror.com/@lobehub/icons-static-png/latest/files/dark/claude-color.png",
2828
},
2929
openai: { name: "OpenAI", icon: "https://openai.com/favicon.ico" },
30-
ollama: {
31-
name: "Ollama",
32-
icon: "https://images.seeklogo.com/logo-png/59/1/ollama-logo-png_seeklogo-593420.png",
33-
},
3430
replicate: {
3531
name: "Replicate",
3632
icon: "https://images.seeklogo.com/logo-png/61/1/replicate-icon-logo-png_seeklogo-611690.png",
3733
},
34+
ollama: {
35+
name: "Ollama",
36+
icon: "https://images.seeklogo.com/logo-png/59/1/ollama-logo-png_seeklogo-593420.png",
37+
},
3838
};
3939
const DEFAULT_CONFIG: { [key: string]: LLMConfig } = {
4040
anthropic: {
@@ -54,12 +54,6 @@ const DEFAULT_CONFIG: { [key: string]: LLMConfig } = {
5454
api_key: "",
5555
max_tokens: 8192,
5656
},
57-
ollama: {
58-
models: {},
59-
url: "http://localhost:11434",
60-
api_key: "",
61-
max_tokens: 8192,
62-
},
6357
replicate: {
6458
models: {
6559
"google/imagen-4": { type: "image" },
@@ -73,6 +67,12 @@ const DEFAULT_CONFIG: { [key: string]: LLMConfig } = {
7367
api_key: "",
7468
max_tokens: 8192,
7569
},
70+
ollama: {
71+
models: {},
72+
url: "http://localhost:11434",
73+
api_key: "",
74+
max_tokens: 8192,
75+
},
7676
};
7777

7878
export default function Settings() {

0 commit comments

Comments
 (0)