mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 23:20:07 +00:00
Bump version of 1.25 to 1.25.11 (#5221)
* Bump version of 1.25 - Gemini Image static price badge
* Cherry-pick 48b1ebf6cc and merge
* package-lock update
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@comfyorg/comfyui-frontend",
|
||||
"version": "1.25.5",
|
||||
"version": "1.25.11",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@comfyorg/comfyui-frontend",
|
||||
"version": "1.25.5",
|
||||
"version": "1.25.11",
|
||||
"license": "GPL-3.0-only",
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@comfyorg/comfyui-frontend",
|
||||
"private": true,
|
||||
"version": "1.25.10",
|
||||
"version": "1.25.11",
|
||||
"type": "module",
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
|
||||
"homepage": "https://comfy.org",
|
||||
|
||||
@@ -1332,6 +1332,9 @@ const apiNodeCosts: Record<string, { displayPrice: string | PricingFunction }> =
|
||||
return 'Token-based'
|
||||
}
|
||||
},
|
||||
GeminiImageNode: {
|
||||
displayPrice: '$0.03 per 1K tokens'
|
||||
},
|
||||
// OpenAI nodes
|
||||
OpenAIChatNode: {
|
||||
displayPrice: (node: LGraphNode): string => {
|
||||
|
||||
@@ -34,6 +34,26 @@
|
||||
"help": "مساعدة",
|
||||
"loading": "جارٍ التحميل",
|
||||
"loadingPanel": "جارٍ تحميل لوحة {panel}...",
|
||||
"login": "تسجيل الدخول",
|
||||
"logs": "السجلات",
|
||||
"micPermissionDenied": "تم رفض إذن الميكروفون",
|
||||
"migrate": "ترحيل",
|
||||
"missing": "مفقود",
|
||||
"moreWorkflows": "المزيد من سير العمل",
|
||||
"name": "الاسم",
|
||||
"newFolder": "مجلد جديد",
|
||||
"next": "التالي",
|
||||
"no": "لا",
|
||||
"noAudioRecorded": "لم يتم تسجيل أي صوت",
|
||||
"noResultsFound": "لم يتم العثور على نتائج",
|
||||
"noTasksFound": "لم يتم العثور على مهام",
|
||||
"noTasksFoundMessage": "لا توجد مهام في قائمة الانتظار.",
|
||||
"noWorkflowsFound": "لم يتم العثور على أي سير عمل.",
|
||||
"nodes": "العُقَد",
|
||||
"nodesRunning": "العُقَد قيد التشغيل",
|
||||
"ok": "موافق",
|
||||
"openNewIssue": "فتح مشكلة جديدة",
|
||||
"overwrite": "الكتابة فوق",
|
||||
"preview": "معاينة",
|
||||
"addNodeFilterCondition": "إضافة شرط لتصفية العقد",
|
||||
"architecture": "الهندسة المعمارية",
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
"micPermissionDenied": "Permiso de micrófono denegado",
|
||||
"migrate": "Migrar",
|
||||
"missing": "Faltante",
|
||||
"moreWorkflows": "Más flujos de trabajo",
|
||||
"name": "Nombre",
|
||||
"newFolder": "Nueva carpeta",
|
||||
"next": "Siguiente",
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
"micPermissionDenied": "Permission du microphone refusée",
|
||||
"migrate": "Migrer",
|
||||
"missing": "Manquant",
|
||||
"moreWorkflows": "Plus de workflows",
|
||||
"name": "Nom",
|
||||
"newFolder": "Nouveau dossier",
|
||||
"next": "Suivant",
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
"micPermissionDenied": "マイクの許可が拒否されました",
|
||||
"migrate": "移行する",
|
||||
"missing": "不足している",
|
||||
"moreWorkflows": "さらに多くのワークフロー",
|
||||
"name": "名前",
|
||||
"newFolder": "新しいフォルダー",
|
||||
"next": "次へ",
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
"micPermissionDenied": "마이크 권한이 거부되었습니다",
|
||||
"migrate": "이전(migrate)",
|
||||
"missing": "누락됨",
|
||||
"moreWorkflows": "더 많은 워크플로우",
|
||||
"name": "이름",
|
||||
"newFolder": "새 폴더",
|
||||
"next": "다음",
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
"micPermissionDenied": "Доступ к микрофону запрещён",
|
||||
"migrate": "Мигрировать",
|
||||
"missing": "Отсутствует",
|
||||
"moreWorkflows": "Больше рабочих процессов",
|
||||
"name": "Имя",
|
||||
"newFolder": "Новая папка",
|
||||
"next": "Далее",
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
"micPermissionDenied": "麥克風權限被拒絕",
|
||||
"migrate": "遷移",
|
||||
"missing": "缺少",
|
||||
"moreWorkflows": "更多工作流程",
|
||||
"name": "名稱",
|
||||
"newFolder": "新資料夾",
|
||||
"next": "下一步",
|
||||
|
||||
@@ -338,6 +338,7 @@
|
||||
"micPermissionDenied": "麦克风权限被拒绝",
|
||||
"migrate": "迁移",
|
||||
"missing": "缺失",
|
||||
"moreWorkflows": "更多工作流",
|
||||
"name": "名称",
|
||||
"newFolder": "新文件夹",
|
||||
"next": "下一个",
|
||||
|
||||
@@ -1561,6 +1561,14 @@ describe('useNodePricing', () => {
|
||||
const price = getNodeDisplayPrice(node)
|
||||
expect(price).toBe('Token-based')
|
||||
})
|
||||
|
||||
it('should return static price for GeminiImageNode', () => {
|
||||
const { getNodeDisplayPrice } = useNodePricing()
|
||||
const node = createMockNode('GeminiImageNode')
|
||||
|
||||
const price = getNodeDisplayPrice(node)
|
||||
expect(price).toBe('$0.03 per 1K tokens')
|
||||
})
|
||||
})
|
||||
|
||||
describe('Additional RunwayML edge cases', () => {
|
||||
|
||||
Reference in New Issue
Block a user