Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
chore(ci): update test to new rates
Danny Avilac0e2c58c03d1
diff --git a/api/models/tx.spec.js b/api/models/tx.spec.jsindex cab3132fae..adbaa8f764 100644--- a/api/models/tx.spec.js+++ b/api/models/tx.spec.js@@ -24,8 +24,8 @@ describe('getValueKey', () => {describe('getMultiplier', () => {it('should return the correct multiplier for a given valueKey and tokenType', () => {- expect(getMultiplier({ valueKey: '8k', tokenType: 'prompt' })).toBe(3);- expect(getMultiplier({ valueKey: '8k', tokenType: 'completion' })).toBe(6);+ expect(getMultiplier({ valueKey: '8k', tokenType: 'prompt' })).toBe(30);+ expect(getMultiplier({ valueKey: '8k', tokenType: 'completion' })).toBe(60);});it('should return defaultRate if tokenType is provided but not found in tokenValues', () => {@@ -33,7 +33,7 @@ describe('getMultiplier', () => {});it('should derive the valueKey from the model if not provided', () => {- expect(getMultiplier({ tokenType: 'prompt', model: 'gpt-4-some-other-info' })).toBe(3);+ expect(getMultiplier({ tokenType: 'prompt', model: 'gpt-4-some-other-info' })).toBe(30);});it('should return 1 if only model or tokenType is missing', () => {