mirror of
https://github.com/Darkatse/TauriTavern.git
synced 2026-10-19 07:35:14 +00:00
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.
24 lines
No EOL
369 B
JSON
24 lines
No EOL
369 B
JSON
{
|
|
"temp": 0.8,
|
|
"rep_pen": 1.15,
|
|
"rep_pen_range": 2048,
|
|
"top_p": 0.9,
|
|
"top_a": 0,
|
|
"top_k": 100,
|
|
"typical": 1,
|
|
"tfs": 1,
|
|
"rep_pen_slope": 3.4,
|
|
"sampler_order": [
|
|
6,
|
|
5,
|
|
0,
|
|
2,
|
|
3,
|
|
1,
|
|
4
|
|
],
|
|
"mirostat": 0,
|
|
"mirostat_tau": 5,
|
|
"mirostat_eta": 0.1,
|
|
"grammar": ""
|
|
} |