Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ func Execute(ctx context.Context, stdin io.Reader, stdout, stderr io.Writer, arg
telemetry.SetGlobalTelemetryVersion(version.Version)

// Print startup message only on first installation/setup
if isFirstRun() && os.Getenv("CAGENT_HIDE_TELEMETRY_BANNER") != "1" {
if isFirstRun() && os.Getenv("CAGENT_HIDE_TELEMETRY_BANNER") != "1" && os.Getenv("DOCKER_AGENT_HIDE_TELEMETRY_BANNER") != "1" {
welcomeMsg := fmt.Sprintf(`
Welcome to cagent! 🚀
Welcome to docker agent! 🚀

For any feedback, please visit: %s
`, feedback.Link)
Expand All @@ -162,7 +162,7 @@ For any feedback, please visit: %s
// Only show telemetry notice when telemetry is enabled
if telemetry.GetTelemetryEnabled() {
telemetryMsg := `
We collect anonymous usage data to help improve cagent. To disable:
We collect anonymous usage data to help improve docker agent. To disable:
- Set environment variable: TELEMETRY_ENABLED=false
`
fmt.Fprint(stderr, telemetryMsg)
Expand Down
2 changes: 1 addition & 1 deletion misc/perf/poem.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/evaluation/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ COPY --from=dind / /
COPY --from=docker/cagent:edge /cagent /
WORKDIR /working_dir
ENV TELEMETRY_ENABLED=false
ENV CAGENT_HIDE_TELEMETRY_BANNER=1
ENV DOCKER_AGENT_HIDE_TELEMETRY_BANNER=1
ENTRYPOINT ["/run.sh", "/cagent", "run", "--exec", "--yolo", "--json"]
{{if .CopyWorkingDir}}COPY . ./
{{end}}
2 changes: 1 addition & 1 deletion pkg/tui/components/messages/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func newModel(width, height int, sessionState *service.SessionState) *model {
scrollview: sv,
selectedMessageIndex: -1,
inlineEditMsgIndex: -1,
debugLayout: os.Getenv("CAGENT_EXPERIMENTAL_DEBUG_LAYOUT") == "1",
debugLayout: os.Getenv("DOCKER_AGENT_EXPERIMENTAL_DEBUG_LAYOUT") == "1" || os.Getenv("CAGENT_EXPERIMENTAL_DEBUG_LAYOUT") == "1",
renderDirty: true,
}
}
Expand Down