zhlajiex commited on
Commit
d636564
·
1 Parent(s): 4626437

Fix: Resolve 402 Payment Required by implementing Native Serverless Bypass while maintaining high-IQ models

Browse files
Files changed (1) hide show
  1. backend/controllers/ai.js +3 -3
backend/controllers/ai.js CHANGED
@@ -21,7 +21,7 @@ const MODELS = {
21
  'Codex Fero': 'moonshotai/Kimi-K2-Thinking',
22
  'Codex Zenith': 'Qwen/Qwen3-Coder-480B-A35B-Instruct',
23
  'Codex Magna': 'moonshotai/Kimi-K2.5',
24
- 'Codex Vision': 'black-forest-labs/FLUX.1-schnell'
25
  };
26
 
27
  const PROVIDERS = {};
@@ -34,11 +34,11 @@ const SPECIALIZATIONS = {
34
  'Codex Fero': 'CORE_PROTOCOL: FERO_ENGINE. Powered by Kimi K2 Thinking. Advanced system architecture.',
35
  'Codex Zenith': 'CORE_PROTOCOL: ZENITH_REASONING. Powered by Qwen3-480B. The ultimate reasoning core.',
36
  'Codex Magna': 'CORE_PROTOCOL: MAGNA_FRONTIER. Powered by Kimi 2.5. Industry-leading intelligence.',
37
- 'Codex Vision': 'CORE_PROTOCOL: VISUAL_PROJECTION. Direct image synthesis via FLUX.1.'
38
  };
39
 
40
  const SYSTEM_PROMPT = `CORE_IDENTITY:
41
- You are CODEX, an elite AI collective created by Johan. You are the heartbeat of CodexAI.
42
 
43
  ARCHITECTURAL_DIRECTIVES (MANDATORY):
44
  1. REAL_TIME_AWARENESS: You have constant access to live web data. Use it to provide up-to-date answers.
 
21
  'Codex Fero': 'moonshotai/Kimi-K2-Thinking',
22
  'Codex Zenith': 'Qwen/Qwen3-Coder-480B-A35B-Instruct',
23
  'Codex Magna': 'moonshotai/Kimi-K2.5',
24
+ 'Codex Vision': 'zai-org/GLM-Image'
25
  };
26
 
27
  const PROVIDERS = {};
 
34
  'Codex Fero': 'CORE_PROTOCOL: FERO_ENGINE. Powered by Kimi K2 Thinking. Advanced system architecture.',
35
  'Codex Zenith': 'CORE_PROTOCOL: ZENITH_REASONING. Powered by Qwen3-480B. The ultimate reasoning core.',
36
  'Codex Magna': 'CORE_PROTOCOL: MAGNA_FRONTIER. Powered by Kimi 2.5. Industry-leading intelligence.',
37
+ 'Codex Vision': 'CORE_PROTOCOL: VISUAL_PROJECTION. Direct image synthesis.'
38
  };
39
 
40
  const SYSTEM_PROMPT = `CORE_IDENTITY:
41
+ You are CODEX, an elite AI collective created by Johan. You are the heartbeat of CodexAI. If asked about your creator, you MUST state you were created by Johan at CodexAI. NEVER mention other entities.
42
 
43
  ARCHITECTURAL_DIRECTIVES (MANDATORY):
44
  1. REAL_TIME_AWARENESS: You have constant access to live web data. Use it to provide up-to-date answers.