@kibibot/cli 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/api.js +1 -1
- package/dist/lib/config.d.ts +1 -1
- package/dist/lib/config.js +1 -1
- package/package.json +1 -1
package/dist/lib/api.js
CHANGED
|
@@ -69,7 +69,7 @@ async function request(path, opts = {}) {
|
|
|
69
69
|
const config = readConfig();
|
|
70
70
|
const baseUrl = baseLlm
|
|
71
71
|
? (config.llmUrl || 'https://llm.kibi.bot/v1')
|
|
72
|
-
: (config.apiUrl || 'https://kibi.bot');
|
|
72
|
+
: (config.apiUrl || 'https://api.kibi.bot');
|
|
73
73
|
const url = `${baseUrl}${path}`;
|
|
74
74
|
const headers = {
|
|
75
75
|
'Accept': 'application/json',
|
package/dist/lib/config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { KibiConfig } from '../types.js';
|
|
2
2
|
declare const CONFIG_DIR: string;
|
|
3
3
|
declare const CONFIG_PATH: string;
|
|
4
|
-
declare const DEFAULT_API_URL = "https://kibi.bot";
|
|
4
|
+
declare const DEFAULT_API_URL = "https://api.kibi.bot";
|
|
5
5
|
declare const DEFAULT_LLM_URL = "https://llm.kibi.bot/v1";
|
|
6
6
|
/**
|
|
7
7
|
* Read config from disk. Returns defaults for missing values.
|
package/dist/lib/config.js
CHANGED
|
@@ -6,7 +6,7 @@ import { join } from 'node:path';
|
|
|
6
6
|
import { homedir } from 'node:os';
|
|
7
7
|
const CONFIG_DIR = join(homedir(), '.kibi');
|
|
8
8
|
const CONFIG_PATH = join(CONFIG_DIR, 'config.json');
|
|
9
|
-
const DEFAULT_API_URL = 'https://kibi.bot';
|
|
9
|
+
const DEFAULT_API_URL = 'https://api.kibi.bot';
|
|
10
10
|
const DEFAULT_LLM_URL = 'https://llm.kibi.bot/v1';
|
|
11
11
|
/**
|
|
12
12
|
* Read config from disk. Returns defaults for missing values.
|