Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

codegate warns against using requests #228

Description

@jhrozek

in addition it hallucinates the trusty URL.

codegate does extract the packages just fine from the query:

{"event": "Extracted packages: ['requests']", "level": "info", "timestamp": "2024-12-08T20:46:29.3dZ", "module": "extractor"}
{"event": "Packages in user query: ['requests']", "level": "info", "timestamp": "2024-12-08T20:46:29.3dZ", "module": "codegate"}

For very popular packages that users are likely to ask about during testing, we might get away with adding them explicitly to the database, but ideally we should tune the prompt to not hallucinate.

Image

Activity

  1. yrobla commented on Dec 10, 2024

    @yrobla
    Contributor

    Fixed with latest changes

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