Feat/relation (#139)

* update relation

* feat: add relation_type to avatar info structure and update related components

- Added `relation_type` to the avatar structured info in `info_presenter.py`.
- Updated `AvatarDetail.vue` to utilize the new `relation_type` for displaying avatar relationships.
- Modified `RelationRow.vue` to accept `type` as a prop for enhanced relationship representation.
- Updated `core.ts` to include `relation_type` in the `RelationInfo` interface.

Closes #
This commit is contained in:
4thfever
2026-02-05 22:14:44 +08:00
committed by GitHub
parent a9d9288432
commit 7630174820
33 changed files with 437 additions and 65 deletions

View File

@@ -9,7 +9,7 @@ if TYPE_CHECKING:
from src.utils.config import CONFIG
from src.utils.llm import call_llm_with_task_name
from src.classes.relations import (
from src.classes.relation.relations import (
process_relation_changes,
get_relation_change_context
)