LangChain Reference home page
Search...
⌘K
Ask AI
GitHub
Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
⌘I
Chat LangChain
What can I help with?
Enter
to send
·
Shift+Enter
new line
What are deep agents and how do I get started?
How do I build a React app around a Deep Agent?
How do I stream subagent output to my frontend with useStream?
Menu
Navigation
Projects
Amazon Nova
Anthropic
AstraDB
AWS
Azure AI
Azure Cosmos DB
Azure Dynamic Sessions
Azure PostgreSQL
Azure Storage
Cerebras
Chroma
Cohere
Db2
DeepSeek
Elasticsearch
Exa
Fireworks
Google (Community)
Google GenAI (Gemini)
Google Vertex AI
Groq
HuggingFace
IBM
LiteLLM
Milvus
Mistral AI
Neo4J
Nomic
Nvidia AI Endpoints
Ollama
OpenAI
OpenRouter
Parallel
Perplexity
Pinecone
Postgres
Qdrant
Redis
Sema4
Snowflake
SQLServer
Tavily
Together
Unstructured
Upstage
Weaviate
xAI
Language
Python
JavaScript
Theme
Light
Dark
Python
langchain-community
callbacks
tracers
comet
CometTracer
Class
latest
●
Since v0.3
CometTracer
Copy
CometTracer
(
self
,
**
kwargs
:
Any
=
{
}
,
)
Bases
BaseTracer
Constructors
Methods
Inherited from
BaseTracer
(langchain_core)
Methods
M
on_chat_model_start
M
on_llm_start
M
on_llm_new_token
M
on_retry
M
on_llm_end
View source on GitHub
Version History
M
on_llm_error
M
on_chain_start
M
on_chain_end
M
on_chain_error
M
on_tool_start
M
on_tool_end
M
on_tool_error
M
on_retriever_start
M
on_retriever_error
M
on_retriever_end
Inherited from
BaseCallbackHandler
(langchain_core)
Attributes
A
raise_error
A
run_inline
A
ignore_llm
A
ignore_retry
A
ignore_chain
A
ignore_agent
A
ignore_retriever
A
ignore_chat_model
A
ignore_custom_event
Inherited from
LLMManagerMixin
(langchain_core)
Methods
M
on_llm_new_token
M
on_llm_end
M
on_llm_error
M
on_stream_event
Inherited from
ChainManagerMixin
(langchain_core)
Methods
M
on_chain_end
M
on_chain_error
M
on_agent_action
M
on_agent_finish
Inherited from
ToolManagerMixin
(langchain_core)
Methods
M
on_tool_end
M
on_tool_error
Inherited from
RetrieverManagerMixin
(langchain_core)
Methods
M
on_retriever_error
M
on_retriever_end
Inherited from
CallbackManagerMixin
(langchain_core)
Methods
M
on_llm_start
M
on_chat_model_start
M
on_retriever_start
M
on_chain_start
M
on_tool_start
Inherited from
RunManagerMixin
(langchain_core)
Methods
M
on_text
M
on_retry
M
on_custom_event
constructor
__init__
method
flush
Comet Tracer.