fix(i18n): clarify image-generation endpoint type as OpenAI-based (#11554)
* fix(i18n): remove image-generation translations and clarify endpoint type Update English locale to specify OpenAI for image generation Add comments to clarify image-generation endpoint type relationship * fix(i18n): correct portuguese translations in pt-pt.json
This commit is contained in:
@@ -69,6 +69,7 @@ export interface CherryInProviderSettings {
|
|||||||
headers?: HeadersInput
|
headers?: HeadersInput
|
||||||
/**
|
/**
|
||||||
* Optional endpoint type to distinguish different endpoint behaviors.
|
* Optional endpoint type to distinguish different endpoint behaviors.
|
||||||
|
* "image-generation" is also openai endpoint, but specifically for image generation.
|
||||||
*/
|
*/
|
||||||
endpointType?: 'openai' | 'openai-response' | 'anthropic' | 'gemini' | 'image-generation' | 'jina-rerank'
|
endpointType?: 'openai' | 'openai-response' | 'anthropic' | 'gemini' | 'image-generation' | 'jina-rerank'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "Image Generation",
|
"image-generation": "Image Generation (OpenAI)",
|
||||||
"jina-rerank": "Jina Rerank",
|
"jina-rerank": "Jina Rerank",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "OpenAI-Response"
|
"openai-response": "OpenAI-Response"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "图片生成",
|
"image-generation": "图像生成 (OpenAI)",
|
||||||
"jina-rerank": "Jina 重排序",
|
"jina-rerank": "Jina 重排序",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "OpenAI-Response"
|
"openai-response": "OpenAI-Response"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "圖片生成",
|
"image-generation": "圖像生成 (OpenAI)",
|
||||||
"jina-rerank": "Jina Rerank",
|
"jina-rerank": "Jina Rerank",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "OpenAI-Response"
|
"openai-response": "OpenAI-Response"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "Bildgenerierung",
|
"image-generation": "Bilderzeugung (OpenAI)",
|
||||||
"jina-rerank": "Jina Reranking",
|
"jina-rerank": "Jina Reranking",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "OpenAI-Response"
|
"openai-response": "OpenAI-Response"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "Δημιουργία Εικόνας",
|
"image-generation": "Δημιουργία Εικόνων (OpenAI)",
|
||||||
"jina-rerank": "Επαναταξινόμηση Jina",
|
"jina-rerank": "Επαναταξινόμηση Jina",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "Απάντηση OpenAI"
|
"openai-response": "Απάντηση OpenAI"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "Generación de imágenes",
|
"image-generation": "Generación de Imágenes (OpenAI)",
|
||||||
"jina-rerank": "Reordenamiento Jina",
|
"jina-rerank": "Reordenamiento Jina",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "Respuesta de OpenAI"
|
"openai-response": "Respuesta de OpenAI"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "Génération d'images",
|
"image-generation": "Génération d'images (OpenAI)",
|
||||||
"jina-rerank": "Reclassement Jina",
|
"jina-rerank": "Reclassement Jina",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "Réponse OpenAI"
|
"openai-response": "Réponse OpenAI"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "画像生成",
|
"image-generation": "画像生成 (OpenAI)",
|
||||||
"jina-rerank": "Jina Rerank",
|
"jina-rerank": "Jina Rerank",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "OpenAI-Response"
|
"openai-response": "OpenAI-Response"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"error": {
|
"error": {
|
||||||
"failed": "Falha ao excluir o agente"
|
"failed": "Falha ao excluir o agente"
|
||||||
},
|
},
|
||||||
"title": "删除代理"
|
"title": "Excluir Agente"
|
||||||
},
|
},
|
||||||
"edit": {
|
"edit": {
|
||||||
"title": "Agent Editor"
|
"title": "Agent Editor"
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
"label": "Modo de permissão",
|
"label": "Modo de permissão",
|
||||||
"options": {
|
"options": {
|
||||||
"acceptEdits": "Aceitar edições automaticamente",
|
"acceptEdits": "Aceitar edições automaticamente",
|
||||||
"bypassPermissions": "忽略检查 de permissão",
|
"bypassPermissions": "Ignorar verificações de permissão",
|
||||||
"default": "Padrão (perguntar antes de continuar)",
|
"default": "Padrão (perguntar antes de continuar)",
|
||||||
"plan": "Modo de planejamento (plano sujeito a aprovação)"
|
"plan": "Modo de planejamento (plano sujeito a aprovação)"
|
||||||
},
|
},
|
||||||
@@ -150,7 +150,7 @@
|
|||||||
},
|
},
|
||||||
"success": {
|
"success": {
|
||||||
"install": "Plugin instalado com sucesso",
|
"install": "Plugin instalado com sucesso",
|
||||||
"uninstall": "插件 desinstalado com sucesso"
|
"uninstall": "Plugin desinstalado com sucesso"
|
||||||
},
|
},
|
||||||
"tab": "plug-in",
|
"tab": "plug-in",
|
||||||
"type": {
|
"type": {
|
||||||
@@ -1134,7 +1134,7 @@
|
|||||||
"duplicate": "Duplicar",
|
"duplicate": "Duplicar",
|
||||||
"edit": "Editar",
|
"edit": "Editar",
|
||||||
"enabled": "Ativado",
|
"enabled": "Ativado",
|
||||||
"error": "错误",
|
"error": "Erro",
|
||||||
"errors": {
|
"errors": {
|
||||||
"create_message": "Falha ao criar mensagem",
|
"create_message": "Falha ao criar mensagem",
|
||||||
"validation": "Falha na verificação"
|
"validation": "Falha na verificação"
|
||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "Geração de Imagem",
|
"image-generation": "Geração de Imagens (OpenAI)",
|
||||||
"jina-rerank": "Jina Reordenar",
|
"jina-rerank": "Jina Reordenar",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "Resposta OpenAI"
|
"openai-response": "Resposta OpenAI"
|
||||||
|
|||||||
@@ -1208,7 +1208,7 @@
|
|||||||
"endpoint_type": {
|
"endpoint_type": {
|
||||||
"anthropic": "Anthropic",
|
"anthropic": "Anthropic",
|
||||||
"gemini": "Gemini",
|
"gemini": "Gemini",
|
||||||
"image-generation": "Изображение",
|
"image-generation": "Генерация изображений (OpenAI)",
|
||||||
"jina-rerank": "Jina Rerank",
|
"jina-rerank": "Jina Rerank",
|
||||||
"openai": "OpenAI",
|
"openai": "OpenAI",
|
||||||
"openai-response": "OpenAI-Response"
|
"openai-response": "OpenAI-Response"
|
||||||
|
|||||||
@@ -239,6 +239,7 @@ export type ModelType = 'text' | 'vision' | 'embedding' | 'reasoning' | 'functio
|
|||||||
|
|
||||||
export type ModelTag = Exclude<ModelType, 'text'> | 'free'
|
export type ModelTag = Exclude<ModelType, 'text'> | 'free'
|
||||||
|
|
||||||
|
// "image-generation" is also openai endpoint, but specifically for image generation.
|
||||||
export type EndpointType = 'openai' | 'openai-response' | 'anthropic' | 'gemini' | 'image-generation' | 'jina-rerank'
|
export type EndpointType = 'openai' | 'openai-response' | 'anthropic' | 'gemini' | 'image-generation' | 'jina-rerank'
|
||||||
|
|
||||||
export type ModelPricing = {
|
export type ModelPricing = {
|
||||||
|
|||||||
Reference in New Issue
Block a user