Commit Graph

3 Commits

Author SHA1 Message Date
renjianbo
53d179dd00 feat(S1): iterative conversation for multi-round prompt refinement
- Conversation model: store dialog context (max 10 rounds), JSON messages
- POST /api/prompt/continue: append round, build LLM context from history
- GET/DELETE /api/conversation/🆔 retrieve or clear conversation
- Vue: refine input card below result, round counter, reset button
- Vue: continuePrompt API with conversation_id tracking

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-03 09:49:22 +08:00
renjianbo
eb5056b5f2 feat(S2): max_tokens dynamic from template, remove hardcoded 500
- PromptTemplate model: add max_tokens (default 500) and example_input fields
- generate_with_llm: read max_tokens from template, accept override param
- api_prompt_generate: accept optional max_tokens with 100-4096 clamp
- Vue: add advanced options toggle with max_tokens input
- Vue: auto-populate max_tokens from selected template

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-03 09:46:12 +08:00
renjianbo
daa34582e9 feat(vue-app,flask): Vue 试验田全量对接与 Session 用户上下文统一
新增 vue-app(生成/收藏/历史/登录/优化/Android/饭菜/诗词/简历等),Flask 增加 user_context 并调整历史、生成、简历等路由;模板 base/generate 可访问性改进;补充部署说明与文档。

Made-with: Cursor
2026-04-05 21:10:41 +08:00