Skip to content

fix: preserve custom system prompt on template switch & render SVG preview in history - #18

Open
weed33834 wants to merge 1 commit into
jaychouchannel:mainfrom
weed33834:fix/svg-preview-and-template-override
Open

fix: preserve custom system prompt on template switch & render SVG preview in history#18
weed33834 wants to merge 1 commit into
jaychouchannel:mainfrom
weed33834:fix/svg-preview-and-template-override

Conversation

@weed33834

Copy link
Copy Markdown

????

????????? Issue:#15 ? #14?

1. ??????????????? system prompt(#15)

????:Generate.tsx ????? useEffect,???? pl ????????? systemOverride,???????????????????????

????:

  • ????????? useEffect
  • ?? userModifiedRef ????????????????
  • ?????????,?? systemOverride ????????
  • ???????????,?????????

2. ???????? SVG ??(#14)

????:????? GET /api/history/{id}/svg ??,??????,History ?????????? SVG?

????:

  • �pi.ts ?? getGenerationSvg(id) ???? SVG ????
  • History.tsx ?????????? SVG ??
  • ?????? SVG ????,? Generate ???????????
  • ?????????????

????

  1. ???? ? ?? system prompt ? ?????? ? ?????????
  2. ??? SVG ?? ? ?? History ? ???? ? ???? SVG ??????

?????????????????,????????????????????????????,??????????????,??????????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant