mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat: micro go cli
This commit is contained in:
+5
-10
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user