You've already forked agentic-coding-workflow
bugfix
This commit is contained in:
@@ -109,7 +109,6 @@ import { chatApi, type ChatMessage, type Conversation } from '@/api/chat'
|
||||
import type { Artifact, ArtifactPhase, Requirement } from '@/api/projects'
|
||||
import { formatDateTime } from '@/utils/date'
|
||||
import { useConversationSession } from '@/composables/useConversationSession'
|
||||
import { buildRequirementSystemPrompt } from '@/constants/requirementPhasePrompts'
|
||||
import {
|
||||
formatInteractiveQuestionAnswer,
|
||||
type InteractiveQuestionAnswer,
|
||||
@@ -167,11 +166,9 @@ async function loadConversations() {
|
||||
}
|
||||
|
||||
function openCreateForm() {
|
||||
newSystemPrompt.value = buildRequirementSystemPrompt(
|
||||
props.phase,
|
||||
props.requirement,
|
||||
props.prevArtifact,
|
||||
)
|
||||
// system prompt 的角色模板 + 需求/产物上下文已由服务端组装(internal/brief 经
|
||||
// composeHistory 注入 FK 上下文)。前端默认留空,仅在操作者想补充额外指令时手填。
|
||||
newSystemPrompt.value = ''
|
||||
newFirstMessage.value = DEFAULT_FIRST_MESSAGE
|
||||
showCreateForm.value = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user