fix: base_url
doc: created
This commit is contained in:
parent
6e02559f4e
commit
43165f86f2
17 changed files with 2151 additions and 293 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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) */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue