- Refactor ChatRequest model to use Pydantic Field for default values
- Update documentation for system prompt exclusion.
- Remove duplicate await in exception
This change adds OpenAI-compatible API endpoints to the nanochat web server, enabling seamless integration with existing OpenAI SDK clients and tools while maintaining backward compatibility with the original chat UI.
- Adds /v1/chat/completions route - supporting both streaming and non-streaming mode
- Adds /v1/models route - returns single model, "nanochat"