update default
Browse filesFiles changed (4)
156 unmodified lines157158159160161162163156 unmodified linesk2_model_name_tag = "moonshotai/Kimi-K2-Thinking"# Default model selectionDEFAULT_MODEL_NAME = "Grok 4.1 Fast"DEFAULT_MODEL = Nonefor _m in AVAILABLE_MODELS:if _m.get("name") == DEFAULT_MODEL_NAME:156 unmodified lines157158159160161162163156 unmodified linesk2_model_name_tag = "moonshotai/Kimi-K2-Thinking"# Default model selectionDEFAULT_MODEL_NAME = "MiniMax M2"DEFAULT_MODEL = Nonefor _m in AVAILABLE_MODELS:if _m.get("name") == DEFAULT_MODEL_NAME:
142 unmodified lines143144145146147148149676 unmodified lines826827828829830831832142 unmodified linesclass CodeGenerationRequest(BaseModel):query: strlanguage: str = "html"model_id: str = "x-ai/grok-4.1-fast"provider: str = "auto"history: List[List[str]] = []agent_mode: bool = False676 unmodified linesquery = data.get("query")language = data.get("language", "html")model_id = data.get("model_id", "x-ai/grok-4.1-fast")# Send acknowledgmentawait websocket.send_json({142 unmodified lines143144145146147148149676 unmodified lines826827828829830831832142 unmodified linesclass CodeGenerationRequest(BaseModel):query: strlanguage: str = "html"model_id: str = "MiniMaxAI/MiniMax-M2"provider: str = "auto"history: List[List[str]] = []agent_mode: bool = False676 unmodified linesquery = data.get("query")language = data.get("language", "html")model_id = data.get("model_id", "MiniMaxAI/MiniMax-M2")# Send acknowledgmentawait websocket.send_json({
16 unmodified lines1718192021222316 unmodified linesconst [generatedCode, setGeneratedCode] = useState('');const [selectedLanguage, setSelectedLanguage] = useState<Language>('html');const [selectedModel, setSelectedModel] = useState('x-ai/grok-4.1-fast');const [isGenerating, setIsGenerating] = useState(false);const [isAuthenticated, setIsAuthenticated] = useState(false);const [currentRepoId, setCurrentRepoId] = useState<string | null>(null); // Track imported/deployed space16 unmodified lines1718192021222316 unmodified linesconst [generatedCode, setGeneratedCode] = useState('');const [selectedLanguage, setSelectedLanguage] = useState<Language>('html');const [selectedModel, setSelectedModel] = useState('MiniMaxAI/MiniMax-M2');const [isGenerating, setIsGenerating] = useState(false);const [isAuthenticated, setIsAuthenticated] = useState(false);const [currentRepoId, setCurrentRepoId] = useState<string | null>(null); // Track imported/deployed space
25 unmodified lines2627282930313225 unmodified linesonStart,isAuthenticated,initialLanguage = 'html',initialModel = 'x-ai/grok-4.1-fast',onAuthChange}: LandingPageProps) {const [prompt, setPrompt] = useState('');25 unmodified lines2627282930313225 unmodified linesonStart,isAuthenticated,initialLanguage = 'html',initialModel = 'MiniMaxAI/MiniMax-M2',onAuthChange}: LandingPageProps) {const [prompt, setPrompt] = useState('');
anycoder_app/config.py+1-1
backend_api.py+2-2
frontend/src/app/page.tsx+1-1
frontend/src/components/LandingPage.tsx+1-1