feat: micro go cli

This commit is contained in:
Ran
2026-01-29 02:55:21 +07:00
parent 0e56c85233
commit 31cb75702c
13 changed files with 475 additions and 3403 deletions
+5 -10
View File
@@ -499,6 +499,8 @@ definitions:
type: object
info:
contact: {}
title: Memoh API
version: 1.0.0
paths:
/auth/login:
post:
@@ -1210,15 +1212,9 @@ paths:
- models
/models/enable-as/{enableAs}:
get:
description: |-
Get the model that is enabled for a specific purpose (chat, memory, embedding)
Get the default model configured for a specific purpose (chat, memory, or embedding)
description: Get the model that is enabled for a specific purpose (chat, memory,
embedding)
parameters:
- description: Enable as value (chat, memory, embedding)
in: path
name: enableAs
required: true
type: string
- description: Enable as value (chat, memory, embedding)
in: path
name: enableAs
@@ -1241,10 +1237,9 @@ paths:
description: Internal Server Error
schema:
$ref: '#/definitions/handlers.ErrorResponse'
summary: Get default model by enable_as
summary: Get model by enable_as
tags:
- models
- models
/models/model/{modelId}:
delete:
description: Delete a model configuration by its model_id field (e.g., gpt-4)