mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-19 00:01:39 +02:00
docs(prompt): correct stale BuildPrompt comment to file-first (#4182)
This commit is contained in:
@@ -11,9 +11,9 @@ import (
|
||||
// Keep this minimal — detailed instructions live in CLAUDE.md / AGENTS.md
|
||||
// injected by execenv.InjectRuntimeConfig. The provider string is threaded
|
||||
// through to comment-triggered tasks' per-turn reply template; that template
|
||||
// is provider-agnostic now (Linux/macOS → quoted-HEREDOC stdin, Windows →
|
||||
// file) because the shell-layer corruption it guards against is not specific
|
||||
// to any one provider (MUL-2904).
|
||||
// is provider-agnostic AND host-agnostic now (every OS → write a UTF-8 file,
|
||||
// post with `--content-file`) because the shell-layer corruption it guards
|
||||
// against is not specific to any one provider or host (MUL-2904, #4182).
|
||||
func BuildPrompt(task Task, provider string) string {
|
||||
if task.ChatSessionID != "" {
|
||||
return buildChatPrompt(task)
|
||||
|
||||
Reference in New Issue
Block a user