Skip to content

v1.0.0

Latest

Choose a tag to compare

@RealBlank21 RealBlank21 released this 04 Oct 15:48
· 54 commits to master since this release
8fcc216

v1.0.0: Core Chat Pipeline Release

This release establishes the minimum viable architecture for a character-based chat application on Android, integrating the OpenRouter API.


⚙️ Core Components & Functionality

  • Character Data Model: The Character entity defines parameters including name, personality (system prompt), model, and optional fields for temperature and maxTokens.
  • Persistence Layer: All critical application state, including User, Character, Conversation, and Message entities, is managed by the Room persistence library.
  • API Interaction: Networking is handled by Retrofit against the https://openrouter.ai/api/ endpoint. The ApiRequest object is constructed using user and character parameters, including the temperature and max_tokens fields.
  • Conversation Flow:
    • New conversations are initiated via CharacterViewModel.startNewConversation(), which atomically creates a new Conversation row and, if provided, the character's initial assistant message.
    • Message history is retrieved using a LiveData<List<Message>> observer scoped to the current conversation ID.
  • Markdown Rendering: The MessageAdapter utilizes the Markwon library to render Markdown content (including tables via TablePlugin) within chat messages.

🚧 Works In Progress (WIP)

  • Regenerate Functionality: The UI exposes a Regenerate menu option when long-pressing an assistant message.
  • Edit Message: The Edit Message menu item is present but currently non-functional.