Skip to content

LLM-backed tools are registered without an LLM #93

Open

Description

@dimetron

k8s_generate_resource is registered with a nil LLM (cmd/main.go passes nil). prometheus_promql_tool calls openai.New(), which needs OPENAI_API_KEY. That key would come from an optional Secret, but no chart creates it. Out of the box, both tools fail when called.

Options:

  • Register them only when an LLM is configured.
  • Document the configuration they need.

The skills bundle in #91 now refuses to reference these tools (llmBackedTools in cmd/plugin_bundle_test.go).

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