You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Determine system message: CLI/project/env override, or default
820
-
systemMessage:=resolved.System
821
-
ifsystemMessage=="" {
822
-
systemMessage=defaultSystem
823
-
}
824
-
ifresolved.GithubRepoDirectory!="" {
825
-
systemMessage+=fmt.Sprintf("\n\nRepository directory: %s\nThis is the local clone of the project repository. You can read and modify files here.", resolved.GithubRepoDirectory)
826
-
}
827
-
ifresolved.GithubRepoUrl!="" {
828
-
systemMessage+=fmt.Sprintf("\nRepository URL: %s\nThis is the upstream GitHub repository.", resolved.GithubRepoUrl)
Copy file name to clipboardExpand all lines: cmd/odek/mcp.go
-12Lines changed: 0 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -51,18 +51,6 @@ Flags:
51
51
// Load config
52
52
resolved:=config.LoadConfig(cliFlags)
53
53
54
-
// Resolve system message
55
-
systemMessage:=resolved.System
56
-
ifsystemMessage=="" {
57
-
systemMessage=defaultSystem
58
-
}
59
-
ifresolved.GithubRepoDirectory!="" {
60
-
systemMessage+=fmt.Sprintf("\n\nRepository directory: %s\nThis is the local clone of the project repository. You can read and modify files here.", resolved.GithubRepoDirectory)
61
-
}
62
-
ifresolved.GithubRepoUrl!="" {
63
-
systemMessage+=fmt.Sprintf("\nRepository URL: %s\nThis is the upstream GitHub repository.", resolved.GithubRepoUrl)
systemMessage+=fmt.Sprintf("\n\nRepository directory: %s\nThis is the local clone of the project repository. You can read and modify files here. When asked to update your own code, this is where the source lives.", resolved.GithubRepoDirectory)
68
-
}
69
-
ifresolved.GithubRepoUrl!="" {
70
-
systemMessage+=fmt.Sprintf("\nRepository URL: %s\nThis is the upstream GitHub repository.", resolved.GithubRepoUrl)
64
+
systemMessage+=" You can read and modify files here. When asked to update your own code, this is where the source lives."
0 commit comments