Skip to content

parameter.enable_thinking must be set to false for non-streaming calls #659

@liangshuquan123

Description

@liangshuquan123

After I upgraded the version of browser-use to 0.3.5, I encountered an error when calling the Qianwen large model.
parameter.enable_thinking must be set to false for non-streaming calls
use from browser_use.llm import ChatOpenAI,
Unable to find where to set streaming=True.
Model initialization code:
llm = ChatOpenAI(
api_key=os.getenv("api_key"),
base_url=os.getenv("base_url"),
model=os.getenv("model_name"),
temperature=1,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions