Avatar Customization + Update Agent Brain (#23)

Co-authored-by: iamlukethedev <iamlukethedev@users.noreply.github.com>
This commit is contained in:
Luke The Dev
2026-03-20 23:05:14 -05:00
committed by GitHub
parent a5b0895dd8
commit 65c2b9cf85
39 changed files with 2803 additions and 551 deletions
+3
View File
@@ -8,6 +8,7 @@ import {
useReducer,
type ReactNode,
} from "react";
import type { AgentAvatarProfile } from "@/lib/avatars/profile";
import {
areTranscriptEntriesEqual,
buildOutputLinesFromTranscriptEntries,
@@ -27,6 +28,7 @@ export type AgentStoreSeed = {
name: string;
sessionKey: string;
avatarSeed?: string | null;
avatarProfile?: AgentAvatarProfile | null;
avatarUrl?: string | null;
model?: string | null;
thinkingLevel?: string | null;
@@ -184,6 +186,7 @@ const createRuntimeAgentState = (
return {
...seed,
avatarSeed: seed.avatarSeed ?? existing?.avatarSeed ?? seed.agentId,
avatarProfile: seed.avatarProfile ?? existing?.avatarProfile ?? null,
avatarUrl: seed.avatarUrl ?? existing?.avatarUrl ?? null,
model: seed.model ?? existing?.model ?? null,
thinkingLevel: seed.thinkingLevel ?? existing?.thinkingLevel ?? "high",