Content-Length: 337569 | pFad | https://github.com/All-Hands-AI/OpenHands/pull/10274

B7 Add llm disable stop word env var by createthis · Pull Request #10274 · All-Hands-AI/OpenHands · GitHub
Skip to content

Conversation

createthis
Copy link
Contributor

Summarize what the PR does, explaining any non-trivial design decisions.

This PR adds the LLM_DISABLE_STOP_WORD env var. When this env var is set to true, Open Hands will not populate the stop property in the request. This addresses #10158.

Copy link
Collaborator

@xingyaoww xingyaoww left a comment

Choose a reason for hiding this comment

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

LGTM-- We can merge this once you confirmed this works for you

# Note: this setting is actually global, unlike drop_params
modify_params: bool = Field(default=True)
disable_vision: bool | None = Field(default=None)
disable_stop_word: bool | None = Field(default=None)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's just default it to false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Changed in 005674c

@createthis
Copy link
Contributor Author

LGTM-- We can merge this once you confirmed this works for you

Confirmed. It works with R1-0528 locally.

Copy link
Collaborator

@xingyaoww xingyaoww left a comment

Choose a reason for hiding this comment

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

LGTM!

@xingyaoww xingyaoww enabled auto-merge (squash) August 13, 2025 03:37
@xingyaoww xingyaoww merged commit 4e3a862 into All-Hands-AI:main Aug 13, 2025
17 checks passed
@createthis createthis deleted the add_LLM_DISABLE_STOP_WORD_env_var branch August 13, 2025 11:51
enyst pushed a commit that referenced this pull request Aug 15, 2025
Co-authored-by: Xingyao Wang <xingyao@all-hands.dev>
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/All-Hands-AI/OpenHands/pull/10274

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy