Skip to content

refactor: remove unused LogDir function and related logs endpoint logic#819

Closed
ilopezluna wants to merge 1 commit intomainfrom
unused-env-var
Closed

refactor: remove unused LogDir function and related logs endpoint logic#819
ilopezluna wants to merge 1 commit intomainfrom
unused-env-var

Conversation

@ilopezluna
Copy link
Copy Markdown
Contributor

Remove unused env var.

Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the /logs HTTP endpoint and the associated LogDir configuration logic from the model runner. The changes include the removal of the endpoint registration in main.go and the environment variable helper in pkg/envconfig/envconfig.go. I have no feedback to provide.

Comment thread main.go
})

// Logs endpoint (Docker Desktop mode only).
if logDir := envconfig.LogDir(); logDir != "" {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should try to make this work with remote/manual contexts, too.

@ilopezluna ilopezluna closed this Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants