π§ͺ WizeGigaLLM Test Suite
This comprehensive test page allows you to verify all features of the WizeGigaLLM web demo application. Run the automated tests below to ensure everything is working correctly.
Test Results
β³
API Configuration
β³
API Connection
β³
Chat Endpoint
β³
Error Handling
π Feature Checklist
Below is a checklist of all features available in this application:
π¬ Chat Interface
- Real-time messaging
- Conversation history
- Message timestamps
- Clear chat function
π API Routes
- /api/chat - Chat completions
- /api/config - Configuration
- Error handling
- CORS support
π Manual Testing Instructions
- Test Chat Interface:
- Navigate to the Chat Demo page
- Send a test message (e.g., "Hello" or "ΠΡΠΈΠ²Π΅Ρ")
- Verify you receive a response from GigaChat
- Test the "Clear Chat" button
- Test Settings Page:
- Go to the Settings page
- Verify configuration is displayed correctly
- Click "Test Connection" button
- Confirm successful connection message
- Test Error Handling:
- Try sending empty messages in chat
- Test with very long messages
- Verify error messages are displayed properly
- Test Deployment:
- Run
npm run buildto verify build succeeds - Run
npm startto test production mode - Verify all features work in production mode
- Run
π Deployment Verification
To ensure successful deployment, verify the following:
β Build Process
npm install- Dependencies installed successfullynpm run build- Build completes without errorsnpm run lint- No linting errors (optional)
β Environment Configuration
GIGACHAT_CREDENTIALS- Set correctlyGIGACHAT_BASE_URL- Points to correct endpointGIGACHAT_VERIFY_SSL_CERTS- Configured appropriately
β Runtime Testing
- All automated tests pass
- Chat interface responds correctly
- Settings page loads and connection test works
- No console errors in browser