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

@ -7,7 +7,7 @@ import { SecureChatCompletion } from 'nomyo-js';
async function main() {
// Initialize client
const client = new SecureChatCompletion({
baseUrl: 'https://api.nomyo.ai:12434',
baseUrl: 'https://api.nomyo.ai',
// For local development, use:
// baseUrl: 'http://localhost:12434',
// allowHttp: true

View file

@ -6,7 +6,7 @@ import { SecureChatCompletion } from 'nomyo-js';
async function main() {
const client = new SecureChatCompletion({
baseUrl: 'https://api.nomyo.ai:12434'
baseUrl: 'https://api.nomyo.ai'
});
try {