Skip to content

[ROSETTA] RAGFlowTeamAPI.from_config ignores ragflow_http_timeout #208

Description

@isolomatov-gd

src/rosetta-mcp-server/rosetta_mcp/services/_ragflow_team_api.py, from_config (~line 47-57) constructs the client without passing timeout=, so it falls back to the hardcoded timeout: int = 30 default instead of the env-configurable config.ragflow_http_timeout used elsewhere in the codebase. Team-membership calls (used for read_policy=team authorization) always run with the hardcoded 30s value, inconsistent with the rest of the HTTP client configuration.

Fix: pass timeout=config.ragflow_http_timeout in from_config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions