fix: base_url

doc: created
This commit is contained in:
Alpha Nerd 2026-04-16 16:44:26 +02:00
parent 6e02559f4e
commit 43165f86f2
Signed by: alpha-nerd
SSH key fingerprint: SHA256:QkkAgVoYi9TQ0UKPkiKSfnerZy2h4qhi3SVPXJmBN+M
17 changed files with 2151 additions and 293 deletions

View file

@ -15,7 +15,7 @@ export class SecureChatCompletion {
constructor(config: ChatCompletionConfig = {}) {
const {
baseUrl = 'https://api.nomyo.ai:12435',
baseUrl = 'https://api.nomyo.ai',
allowHttp = false,
apiKey,
secureMemory = true,

View file

@ -79,9 +79,9 @@ export class SecureCompletionClient {
// Promise-based mutex: serialises concurrent ensureKeys() calls
private ensureKeysLock: Promise<void> = Promise.resolve();
constructor(config: ClientConfig = { routerUrl: 'https://api.nomyo.ai:12435' }) {
constructor(config: ClientConfig = { routerUrl: 'https://api.nomyo.ai' }) {
const {
routerUrl = 'https://api.nomyo.ai:12435',
routerUrl = 'https://api.nomyo.ai',
allowHttp = false,
secureMemory = true,
keySize = 4096,

View file

@ -3,7 +3,7 @@
*/
export interface ClientConfig {
/** Base URL of the NOMYO router (e.g., https://api.nomyo.ai:12434) */
/** Base URL of the NOMYO router (e.g., https://api.nomyo.ai) */
routerUrl: string;
/** Allow HTTP connections (ONLY for local development, never in production) */