update default
Browse filesFiles changed (4)
156 unmodified lines157158159160160161162163156 unmodified linesk2_model_name_tag = "moonshotai/Kimi-K2-Thinking"
# Default model selectionDEFAULT_MODEL_NAME = "Grok 4.1 Fast"DEFAULT_MODEL_NAME = "MiniMax M2"DEFAULT_MODEL = Nonefor _m in AVAILABLE_MODELS: if _m.get("name") == DEFAULT_MODEL_NAME:142 unmodified lines143144145146146147148149676 unmodified lines826827828829829830831832142 unmodified linesclass CodeGenerationRequest(BaseModel): query: str language: str = "html" model_id: str = "x-ai/grok-4.1-fast" model_id: str = "MiniMaxAI/MiniMax-M2" provider: str = "auto" history: List[List[str]] = [] agent_mode: bool = False676 unmodified lines query = data.get("query") language = data.get("language", "html") model_id = data.get("model_id", "x-ai/grok-4.1-fast") model_id = data.get("model_id", "MiniMaxAI/MiniMax-M2") # Send acknowledgment await websocket.send_json({16 unmodified lines171819202021222316 unmodified lines const [generatedCode, setGeneratedCode] = useState(''); const [selectedLanguage, setSelectedLanguage] = useState<Language>('html'); const [selectedModel, setSelectedModel] = useState('x-ai/grok-4.1-fast'); 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 space25 unmodified lines262728292930313225 unmodified lines onStart, isAuthenticated, initialLanguage = 'html', initialModel = 'x-ai/grok-4.1-fast', 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