Skip to content

Use new LLM async support to get models other than just Anthropic #13

@simonw

Description

@simonw

This plugin currently hard-codes to using Claude 3 Haiku and the Anthropic client library:

model="claude-3-haiku-20240307",

client = AsyncAnthropic(api_key=os.environ["ANTHROPIC_API_KEY"])
sql = await generate_sql_with_retries(client, db, question, schema)

Now that LLM has async support I want to switch to that in order to get multiple models supported at once:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions