Merge branch 'main' of hf.co:spaces/Agents-MCP-Hackathon/Smart-Auto-Complete
Sandipan Haldar
ace630e
feat: Add OpenAI API key input option in UI
Sandipan Haldar
ac246b3
- Add API key configuration section in Settings accordion
- Implement password-protected OpenAI API key input field
- Add real-time API status display and connection testing
- Enable users to use personal OpenAI quota instead of shared limits
- Add dynamic API key validation and error handling
- Implement custom autocomplete instance creation for user keys
- Update AutoCompleteApp class with API key management methods
- Modify main function to allow startup without pre-configured keys
- Add comprehensive user documentation for API key feature
- Enhance user experience with real-time status updates
This allows users to enter their own OpenAI API key directly in the interface,
avoiding rate limits and using their personal quota while maintaining security
by not storing keys permanently.
feat: Replace general context with LinkedIn-specific context
Sandipan Haldar
770544d
- Update environment configuration to use TEMPERATURE_LINKEDIN and DEFAULT_TOKENS_LINKEDIN
- Replace general context with LinkedIn context in autocomplete engine
- Add LinkedIn-specialized system prompts focusing on professional networking
- Update UI to show 'LinkedIn Content' option instead of 'General Text'
- Modify prompt editor to include LinkedIn-specific templates
- Update examples and documentation to reflect LinkedIn context
- Change default context from 'general' to 'linkedin' throughout codebase
- Update README.md to document LinkedIn context type
This change transforms the application from a general text completion tool
to a LinkedIn-focused professional content creation assistant.