Skip to content

Conversation

@BasedAnon
Copy link
Owner

This pull request replaces the NovelAI npm package with direct Python API calls to NovelAI endpoints.

Changes

  1. Added direct API implementations:

    • boilerplate_direct.py: Core API client for authentication and HTTP requests
    • novel_tts_direct.py: Text-to-speech implementation using direct API calls
    • novel_llm_direct.py: Language model implementation using direct API calls
  2. Added TypeScript interfaces:

    • tts_novelai_direct.ts: Interface for the direct TTS implementation
    • llm_novelai_direct.ts: Interface for the direct LLM implementation
  3. Updated dependency loading:

    • Modified dependency_loader.ts to support switching between SDK and direct API
    • Added use_direct_api flag to the app state (default: true)

This implementation removes the dependency on the NovelAI SDK while maintaining all functionality of the original application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants