Skip to content

anthropic dependency vs LiteLLMProvider usage #1483

@yashh152004

Description

@yashh152004

Problem

The current node execution path still assumes the presence of the
Anthropic client, even when LiteLLM is configured as the provider.
This causes unnecessary coupling and failures when Anthropic is not installed.

Expected behavior

Nodes should rely only on the configured LLM provider abstraction
(e.g. LiteLLMProvider) without importing or requiring Anthropic.

Scope

  • Remove Anthropic-specific usage from node execution
  • Keep changes minimal and focused
  • No setup, Windows, or documentation changes

Notes

A previous Anthropic-related issue appears to be resolved, but this
specific dependency still exists in the code path.

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