gemma3 template, updated lite, fixed tool calling, reenable ctx shift for gemma3

This commit is contained in:
Concedo 2025-03-14 17:47:01 +08:00
parent 7dc72db9de
commit 6a1dd57435
5 changed files with 78 additions and 8 deletions

View file

@ -2070,6 +2070,18 @@
"post": {
"summary": "Generates text continuations given a prompt. Please refer to OpenAI documentation",
"description": "Generates text continuations given a prompt.\n\nThis is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/completions](https://platform.openai.com/docs/api-reference/completions)",
"requestBody": {
"content": {
"application/json": {
"example": {},
"schema": {
"properties": {},
"type": "object"
}
}
},
"required": true
},
"tags": [
"v1"
],
@ -2080,6 +2092,18 @@
"post": {
"summary": "Generates a response from a list of messages. Please refer to OpenAI documentation",
"description": "Given a list of messages comprising a conversation, the model will return a response.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/chat](https://platform.openai.com/docs/api-reference/chat)",
"requestBody": {
"content": {
"application/json": {
"example": {},
"schema": {
"properties": {},
"type": "object"
}
}
},
"required": true
},
"tags": [
"v1"
],
@ -2110,6 +2134,18 @@
"post": {
"summary": "Generates Text-To-Speech audio from input text. Please refer to OpenAI documentation",
"description": "Generates Text-To-Speech audio from input text.\n\n This is an OpenAI compatibility endpoint.\n\n Please refer to OpenAI documentation at [https://platform.openai.com/docs/api-reference/audio/createSpeech](https://platform.openai.com/docs/api-reference/audio/createSpeech)",
"requestBody": {
"content": {
"application/json": {
"example": {},
"schema": {
"properties": {},
"type": "object"
}
}
},
"required": true
},
"tags": [
"v1"
],