8000 [Bug]: Jin10 tool describes a private WebSocket that the public API does not use · Issue #22811 · infiniflow/ragflow · GitHub
[go: up one dir, main page]

Skip to content

[Bug]: Jin10 tool describes a private WebSocket that the public API does not use #22811

Backlog

Description

@simongu

What happens

internal/agent/tool/jin10.go tells the model:

STUB: Jin10 has no public REST API; data is delivered over a private WebSocket subscription.

Every invocation is rejected with “Jin10 requires WebSocket subscription”.

The public data API is HTTP REST on https://open-data-api.jin10.com/data-api. The current endpoints used by the Python client are flash, calendar, symbols, and news. The key is sent as the secret-key header and should come from the environment, not from a model argument. A client that follows redirects can forward that header off the Jin10 host.

Expected

The tool should call that HTTP API, refuse redirects, and keep the key out of model parameters. The description should not claim that the only interface is a private WebSocket.

Where

internal/agent/tool/jin10.go on current main (lines around the jin10ToolDescription constant).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0