mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 23:09:47 +08:00
9 lines
306 B
TypeScript
9 lines
306 B
TypeScript
/** Build a fresh chat URL associated with existing persistent mastery state. */
|
|
export function newMasteryPathChatUrl(masteryPathId: string): string {
|
|
const params = new URLSearchParams({
|
|
capability: "mastery_path",
|
|
mastery_path_id: masteryPathId,
|
|
});
|
|
return `/home?${params.toString()}`;
|
|
}
|