Skip to content

LogfireNotConfiguredWarning when using pydantic_graph without logfire #2786

@DouweM

Description

@DouweM

Initial Checks

Description

Caused by github.com//pull/2683:

LogfireNotConfiguredWarning: No logs or spans will be created until `logfire.configure()` has been called. Set the environment variable LOGFIRE_IGNORE_NO_CONFIG=1 or add ignore_no_config=true in pyproject.toml to suppress this warning.

Originating here:

stack.enter_context(_logfire.span('run node {node_id}', node_id=node_id, node=node))

Example Code

Python, Pydantic AI & LLM client version

v1.0.0b1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions