TauriTavern/default/content/presets/novel/Carefree-Kayra.json
Darkatse 15b68908bf Initial backend refactor to Rust with Clean Architecture
This commit introduces the initial phase of refactoring the SillyTavern backend
from Node.js to Rust, adopting a Clean Architecture approach. This foundational
work aims to improve performance, maintainability, and type safety.

Key accomplishments in this commit include:

* **Backend Refactoring & Architecture:**
    * Restructured the backend codebase based on Clean Architecture principles.
    * Implemented the core backend logic in Rust for several key modules.

* **API Endpoints Ported to Rust:**
    * The following API endpoints have been successfully refactored to Rust:
        - `/api/version`
        - `/api/secrets`
        - `/api/settings`
        - `/api/avatars`
        - `/api/chats`
        - `/api/characters`
        - `/api/groups`
        - `/api/backgrounds`

* **Frontend Integration:**
    * Injected Tauri adapters and necessary API communication layers into the
        original SillyTavern frontend to interface with the new Rust backend.

* **Documentation:**
    * Authored initial project documentation, including a Product Requirements
        Document (PRD) and a comprehensive backend architecture overview.

This commit lays the groundwork for further development and migration of
remaining features to the new Rust-based backend.
2025-05-09 18:00:59 +08:00

24 lines
566 B
JSON

{
"order": [2, 3, 0, 4, 1],
"temperature": 1.35,
"max_length": 150,
"min_length": 1,
"top_k": 15,
"top_p": 0.85,
"top_a": 0.1,
"tail_free_sampling": 0.915,
"repetition_penalty": 2.8,
"repetition_penalty_range": 2048,
"repetition_penalty_slope": 0.02,
"repetition_penalty_frequency": 0.02,
"repetition_penalty_presence": 0,
"use_cache": false,
"return_full_text": false,
"prefix": "vanilla",
"phrase_rep_pen": "aggressive",
"max_context": 7800,
"min_p": 0,
"math1_temp": 1,
"math1_quad": 0,
"math1_quad_entropy_scale": 0
}