langtrace-python-sdk 3.3.31__tar.gz → 3.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/PKG-INFO +1 -1
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/__init__.py +15 -13
- langtrace_python_sdk-3.4.0/src/langtrace_python_sdk/instrumentation/crewai_tools/__init__.py +3 -0
- langtrace_python_sdk-3.4.0/src/langtrace_python_sdk/instrumentation/crewai_tools/instrumentation.py +49 -0
- langtrace_python_sdk-3.4.0/src/langtrace_python_sdk/instrumentation/crewai_tools/patch.py +64 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/langtrace.py +34 -57
- langtrace_python_sdk-3.4.0/src/langtrace_python_sdk/version.py +1 -0
- langtrace_python_sdk-3.3.31/src/langtrace_python_sdk/version.py +0 -1
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/.gitignore +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/LICENSE +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/README.md +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/pyproject.toml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/anthropic_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/anthropic_example/completion.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/autogen_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/autogen_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/awsbedrock_examples/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/awsbedrock_examples/converse.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/azureopenai_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/azureopenai_example/completion.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cerebras_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cerebras_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/chroma_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/chroma_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/chat.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/chat_stream.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/chat_streamv2.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/chatv2.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/embed.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/rerank.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/rerankv2.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/tools.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/instagram_post/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/instagram_post/agents.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/instagram_post/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/instagram_post/tasks.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/instagram_post/tools/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/instagram_post/tools/browser_tools.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/simple_agent/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/simple_agent/agents.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/simple_agent/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/simple_agent/tasks.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/trip_planner/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/trip_planner/agents.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/trip_planner/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/trip_planner/tasks.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/trip_planner/tools/calculator.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/trip_planner/tools/search_tools.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/QA_basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/QA_basic_with_chain_of_thought.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/QA_basic_with_signature.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/QA_multi_step_with_chain_of_thought.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/math_problems_cot.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/math_problems_cot_parallel.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/optimizers/bootstrap_fewshot.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/program_of_thought_basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/quiz_gen.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/react.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/embedchain_example/simple.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/fastapi_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/fastapi_example/basic_route.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/gemini_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/gemini_example/function_tools.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/gemini_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/google_genai_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/google_genai_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/hiveagent_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/inspect_ai_example/basic_eval.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/groq_example.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/langchain_google_example.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/langgraph_example.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/langgraph_example_tools.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/sagemaker.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/tool.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langgraph_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/litellm_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/litellm_example/config.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/litellm_example/proxy_basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/llamaindex_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/llamaindex_example/agent.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/llamaindex_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/llamaindex_example/data/abramov.txt +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/milvus_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/mistral_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/mistral_example/complete.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/mistral_example/complete_async.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/mistral_example/embeddings.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/mongo_vector_search_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/ollama_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/ollama_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/async_tool_calling_nonstreaming.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/async_tool_calling_streaming.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/chat_completion.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/chat_completion_tool_choice.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/embeddings_create.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/function_calling.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/images_edit.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/images_generate.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/resources/lounge_flamingo.png +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/resources/mask.png +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/send_user_feedback.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/tool_calling.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/tool_calling_nonstreaming.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/tool_calling_streaming.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/otlp_example/otlp_basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/otlp_example/otlp_with_langtrace.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/perplexity_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/pinecone_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/pinecone_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/qdrant_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/qdrant_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/routellm_example/basic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/vertexai_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/vertexai_example/main.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/weaviate_example/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/weaviate_example/query_text.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/exporter/langtrace_exporter.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/anthropic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/aws_bedrock.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/chroma.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/cohere.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/common.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/embedchain.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/gemini.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/groq.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/litellm.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/milvus.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/mistral.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/ollama.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/openai.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/pinecone.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/pymongo.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/qdrant.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/vertexai.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/constants/instrumentation/weaviate.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/extensions/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/extensions/langtrace_exporter.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/extensions/langtrace_filesystem.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/anthropic/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/anthropic/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/anthropic/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/anthropic/types.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/autogen/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/autogen/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/autogen/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/bedrock_streaming_wrapper.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/aws_bedrock/stream_body_wrapper.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/cerebras/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/cerebras/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/cerebras/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/chroma/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/chroma/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/chroma/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/cohere/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/cohere/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/cohere/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/crewai/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/crewai/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/crewai/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/dspy/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/dspy/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/dspy/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/embedchain/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/embedchain/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/embedchain/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/gemini/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/gemini/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/gemini/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/google_genai/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/google_genai/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/google_genai/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/groq/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/groq/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/groq/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain_community/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain_community/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain_community/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain_core/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain_core/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langchain_core/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langgraph/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langgraph/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/langgraph/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/litellm/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/litellm/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/litellm/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/litellm/types.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/llamaindex/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/llamaindex/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/llamaindex/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/milvus/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/milvus/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/milvus/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/mistral/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/mistral/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/mistral/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/ollama/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/ollama/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/ollama/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/openai/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/openai/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/openai/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/openai/types.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/pinecone/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/pinecone/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/pinecone/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/pymongo/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/pymongo/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/pymongo/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/qdrant/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/qdrant/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/qdrant/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/vertexai/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/vertexai/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/vertexai/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/weaviate/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/weaviate/instrumentation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/instrumentation/weaviate/patch.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/types/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/langtrace_sampler.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/llm.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/misc.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/prompt_registry.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/sdk_version_checker.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/silently_fail.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/types.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/utils/with_root_span.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/run_example.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/__init__.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/anthropic/cassettes/test_anthropic.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/anthropic/cassettes/test_anthropic_streaming.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/anthropic/cassettes/test_async_anthropic_streaming.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/anthropic/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/anthropic/test_anthropic.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/chroma/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/chroma/test_chroma.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/cassettes/test_cohere_chat.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/cassettes/test_cohere_chat_streaming.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/cassettes/test_cohere_embed.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/cassettes/test_cohere_rerank.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/test_cohere_chat.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/test_cohere_embed.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/cohere/test_cohere_rerank.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/groq/cassettes/test_async_chat_completion.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/groq/cassettes/test_async_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/groq/cassettes/test_chat_completion.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/groq/cassettes/test_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/groq/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/groq/test_groq.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/langchain/cassettes/test_langchain.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/langchain/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/langchain/test_langchain.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/cassettes/test_async_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/cassettes/test_async_image_generation.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/cassettes/test_chat_completion.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/cassettes/test_chat_completion_streaming.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/cassettes/test_embeddings_base_url.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/cassettes/test_image_generation.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/test_chat_completion.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/test_embeddings.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/openai/test_image_generation.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/pinecone/cassettes/test_query.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/pinecone/cassettes/test_upsert.yaml +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/pinecone/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/pinecone/test_pinecone.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/qdrant/conftest.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/qdrant/test_qdrant.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/test_session_id.py +0 -0
- {langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/tests/utils.py +0 -0
@@ -1,30 +1,31 @@
|
|
1
1
|
from .anthropic import AnthropicInstrumentation
|
2
|
+
from .autogen import AutogenInstrumentation
|
3
|
+
from .aws_bedrock import AWSBedrockInstrumentation
|
4
|
+
from .cerebras import CerebrasInstrumentation
|
2
5
|
from .chroma import ChromaInstrumentation
|
3
6
|
from .cohere import CohereInstrumentation
|
4
7
|
from .crewai import CrewAIInstrumentation
|
8
|
+
from .crewai_tools import CrewaiToolsInstrumentation
|
9
|
+
from .dspy import DspyInstrumentation
|
10
|
+
from .embedchain import EmbedchainInstrumentation
|
11
|
+
from .gemini import GeminiInstrumentation
|
12
|
+
from .google_genai import GoogleGenaiInstrumentation
|
5
13
|
from .groq import GroqInstrumentation
|
6
14
|
from .langchain import LangchainInstrumentation
|
7
15
|
from .langchain_community import LangchainCommunityInstrumentation
|
8
16
|
from .langchain_core import LangchainCoreInstrumentation
|
9
17
|
from .langgraph import LanggraphInstrumentation
|
18
|
+
from .litellm import LiteLLMInstrumentation
|
10
19
|
from .llamaindex import LlamaindexInstrumentation
|
20
|
+
from .milvus import MilvusInstrumentation
|
21
|
+
from .mistral import MistralInstrumentation
|
22
|
+
from .ollama import OllamaInstrumentor
|
11
23
|
from .openai import OpenAIInstrumentation
|
12
24
|
from .pinecone import PineconeInstrumentation
|
25
|
+
from .pymongo import PyMongoInstrumentation
|
13
26
|
from .qdrant import QdrantInstrumentation
|
14
|
-
from .weaviate import WeaviateInstrumentation
|
15
|
-
from .ollama import OllamaInstrumentor
|
16
|
-
from .dspy import DspyInstrumentation
|
17
|
-
from .autogen import AutogenInstrumentation
|
18
27
|
from .vertexai import VertexAIInstrumentation
|
19
|
-
from .
|
20
|
-
from .mistral import MistralInstrumentation
|
21
|
-
from .aws_bedrock import AWSBedrockInstrumentation
|
22
|
-
from .embedchain import EmbedchainInstrumentation
|
23
|
-
from .litellm import LiteLLMInstrumentation
|
24
|
-
from .pymongo import PyMongoInstrumentation
|
25
|
-
from .cerebras import CerebrasInstrumentation
|
26
|
-
from .milvus import MilvusInstrumentation
|
27
|
-
from .google_genai import GoogleGenaiInstrumentation
|
28
|
+
from .weaviate import WeaviateInstrumentation
|
28
29
|
|
29
30
|
__all__ = [
|
30
31
|
"AnthropicInstrumentation",
|
@@ -54,4 +55,5 @@ __all__ = [
|
|
54
55
|
"CerebrasInstrumentation",
|
55
56
|
"MilvusInstrumentation",
|
56
57
|
"GoogleGenaiInstrumentation",
|
58
|
+
"CrewaiToolsInstrumentation",
|
57
59
|
]
|
langtrace_python_sdk-3.4.0/src/langtrace_python_sdk/instrumentation/crewai_tools/instrumentation.py
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
"""
|
2
|
+
Copyright (c) 2025 Scale3 Labs
|
3
|
+
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
you may not use this file except in compliance with the License.
|
6
|
+
You may obtain a copy of the License at
|
7
|
+
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
See the License for the specific language governing permissions and
|
14
|
+
limitations under the License.
|
15
|
+
"""
|
16
|
+
|
17
|
+
from typing import Collection
|
18
|
+
|
19
|
+
from importlib_metadata import version as v
|
20
|
+
from opentelemetry.instrumentation.instrumentor import BaseInstrumentor
|
21
|
+
from opentelemetry.trace import get_tracer
|
22
|
+
from wrapt import wrap_function_wrapper as _W
|
23
|
+
|
24
|
+
from .patch import patch_run
|
25
|
+
|
26
|
+
|
27
|
+
class CrewaiToolsInstrumentation(BaseInstrumentor):
|
28
|
+
"""
|
29
|
+
The CrewAIInstrumentation class represents the CrewAI instrumentation"""
|
30
|
+
|
31
|
+
def instrumentation_dependencies(self) -> Collection[str]:
|
32
|
+
return ["crewai-tools >= 0.32.0"]
|
33
|
+
|
34
|
+
def _instrument(self, **kwargs):
|
35
|
+
tracer_provider = kwargs.get("tracer_provider")
|
36
|
+
tracer = get_tracer(__name__, "", tracer_provider)
|
37
|
+
version = v("crewai-tools")
|
38
|
+
try:
|
39
|
+
_W(
|
40
|
+
"crewai_tools.tools.serper_dev_tool.serper_dev_tool",
|
41
|
+
"SerperDevTool._run",
|
42
|
+
patch_run("SerperDevTool._run", version, tracer),
|
43
|
+
)
|
44
|
+
# pylint: disable=broad-except
|
45
|
+
except Exception:
|
46
|
+
pass
|
47
|
+
|
48
|
+
def _uninstrument(self, **kwargs):
|
49
|
+
pass
|
@@ -0,0 +1,64 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
from importlib_metadata import version as v
|
4
|
+
from langtrace.trace_attributes import FrameworkSpanAttributes
|
5
|
+
from opentelemetry import baggage
|
6
|
+
from opentelemetry.trace import SpanKind, Tracer
|
7
|
+
from opentelemetry.trace.status import Status, StatusCode
|
8
|
+
|
9
|
+
from langtrace_python_sdk.constants import LANGTRACE_SDK_NAME
|
10
|
+
from langtrace_python_sdk.constants.instrumentation.common import (
|
11
|
+
LANGTRACE_ADDITIONAL_SPAN_ATTRIBUTES_KEY, SERVICE_PROVIDERS)
|
12
|
+
from langtrace_python_sdk.utils import set_span_attribute
|
13
|
+
from langtrace_python_sdk.utils.llm import get_span_name, set_span_attributes
|
14
|
+
from langtrace_python_sdk.utils.misc import serialize_args, serialize_kwargs
|
15
|
+
|
16
|
+
|
17
|
+
def patch_run(operation_name, version, tracer: Tracer):
|
18
|
+
def traced_method(wrapped, instance, args, kwargs):
|
19
|
+
service_provider = SERVICE_PROVIDERS["CREWAI"]
|
20
|
+
extra_attributes = baggage.get_baggage(LANGTRACE_ADDITIONAL_SPAN_ATTRIBUTES_KEY)
|
21
|
+
span_attributes = {
|
22
|
+
"langtrace.sdk.name": "langtrace-python-sdk",
|
23
|
+
"langtrace.service.name": service_provider,
|
24
|
+
"langtrace.service.type": "framework",
|
25
|
+
"langtrace.service.version": version,
|
26
|
+
"langtrace.version": v(LANGTRACE_SDK_NAME),
|
27
|
+
**(extra_attributes if extra_attributes is not None else {}),
|
28
|
+
}
|
29
|
+
|
30
|
+
inputs = {}
|
31
|
+
if len(args) > 0:
|
32
|
+
inputs["args"] = serialize_args(*args)
|
33
|
+
if len(kwargs) > 0:
|
34
|
+
inputs["kwargs"] = serialize_kwargs(**kwargs)
|
35
|
+
span_attributes["crewai_tools.tools.serper_dev_tool.inputs"] = json.dumps(inputs)
|
36
|
+
|
37
|
+
attributes = FrameworkSpanAttributes(**span_attributes)
|
38
|
+
|
39
|
+
with tracer.start_as_current_span(
|
40
|
+
get_span_name(operation_name), kind=SpanKind.CLIENT
|
41
|
+
) as span:
|
42
|
+
|
43
|
+
try:
|
44
|
+
set_span_attributes(span, attributes)
|
45
|
+
result = wrapped(*args, **kwargs)
|
46
|
+
if result is not None and len(result) > 0:
|
47
|
+
set_span_attribute(
|
48
|
+
span, "crewai_tools.tools.serper_dev_tool.outputs", str(result)
|
49
|
+
)
|
50
|
+
if result:
|
51
|
+
span.set_status(Status(StatusCode.OK))
|
52
|
+
return result
|
53
|
+
|
54
|
+
except Exception as err:
|
55
|
+
# Record the exception in the span
|
56
|
+
span.record_exception(err)
|
57
|
+
|
58
|
+
# Set the span status to indicate an error
|
59
|
+
span.set_status(Status(StatusCode.ERROR, str(err)))
|
60
|
+
|
61
|
+
# Reraise the exception to ensure it's not swallowed
|
62
|
+
raise
|
63
|
+
|
64
|
+
return traced_method
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/langtrace.py
RENAMED
@@ -14,74 +14,50 @@ See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
15
15
|
"""
|
16
16
|
|
17
|
+
import logging
|
17
18
|
import os
|
18
19
|
import sys
|
20
|
+
from typing import Any, Dict, Optional
|
21
|
+
|
19
22
|
import sentry_sdk
|
20
|
-
import logging
|
21
|
-
from typing import Dict, Optional, Any
|
22
23
|
from colorama import Fore
|
23
|
-
from langtrace_python_sdk.constants import LANGTRACE_SDK_NAME, SENTRY_DSN
|
24
24
|
from opentelemetry import trace
|
25
|
+
from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import \
|
26
|
+
OTLPSpanExporter as GRPCExporter
|
27
|
+
from opentelemetry.exporter.otlp.proto.http.trace_exporter import \
|
28
|
+
OTLPSpanExporter as HTTPExporter
|
25
29
|
from opentelemetry.instrumentation.sqlalchemy import SQLAlchemyInstrumentor
|
26
30
|
from opentelemetry.sdk.resources import SERVICE_NAME, Resource
|
27
31
|
from opentelemetry.sdk.trace import TracerProvider
|
28
|
-
from opentelemetry.sdk.trace.export import (
|
29
|
-
|
30
|
-
|
31
|
-
SimpleSpanProcessor,
|
32
|
-
)
|
33
|
-
|
34
|
-
from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import (
|
35
|
-
OTLPSpanExporter as GRPCExporter,
|
36
|
-
)
|
37
|
-
from opentelemetry.exporter.otlp.proto.http.trace_exporter import (
|
38
|
-
OTLPSpanExporter as HTTPExporter,
|
39
|
-
)
|
40
|
-
from langtrace_python_sdk.constants.exporter.langtrace_exporter import (
|
41
|
-
LANGTRACE_REMOTE_URL,
|
42
|
-
LANGTRACE_SESSION_ID_HEADER,
|
43
|
-
)
|
44
|
-
from langtrace_python_sdk.instrumentation import (
|
45
|
-
AnthropicInstrumentation,
|
46
|
-
ChromaInstrumentation,
|
47
|
-
CohereInstrumentation,
|
48
|
-
CrewAIInstrumentation,
|
49
|
-
DspyInstrumentation,
|
50
|
-
EmbedchainInstrumentation,
|
51
|
-
GeminiInstrumentation,
|
52
|
-
GroqInstrumentation,
|
53
|
-
LangchainCommunityInstrumentation,
|
54
|
-
LangchainCoreInstrumentation,
|
55
|
-
LangchainInstrumentation,
|
56
|
-
LanggraphInstrumentation,
|
57
|
-
LiteLLMInstrumentation,
|
58
|
-
LlamaindexInstrumentation,
|
59
|
-
MistralInstrumentation,
|
60
|
-
AWSBedrockInstrumentation,
|
61
|
-
OllamaInstrumentor,
|
62
|
-
OpenAIInstrumentation,
|
63
|
-
PineconeInstrumentation,
|
64
|
-
QdrantInstrumentation,
|
65
|
-
AutogenInstrumentation,
|
66
|
-
VertexAIInstrumentation,
|
67
|
-
WeaviateInstrumentation,
|
68
|
-
PyMongoInstrumentation,
|
69
|
-
CerebrasInstrumentation,
|
70
|
-
MilvusInstrumentation,
|
71
|
-
GoogleGenaiInstrumentation,
|
72
|
-
)
|
32
|
+
from opentelemetry.sdk.trace.export import (BatchSpanProcessor,
|
33
|
+
ConsoleSpanExporter,
|
34
|
+
SimpleSpanProcessor)
|
73
35
|
from opentelemetry.util.re import parse_env_headers
|
36
|
+
from sentry_sdk.types import Event, Hint
|
74
37
|
|
75
|
-
from langtrace_python_sdk.
|
76
|
-
from langtrace_python_sdk.
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
38
|
+
from langtrace_python_sdk.constants import LANGTRACE_SDK_NAME, SENTRY_DSN
|
39
|
+
from langtrace_python_sdk.constants.exporter.langtrace_exporter import (
|
40
|
+
LANGTRACE_REMOTE_URL, LANGTRACE_SESSION_ID_HEADER)
|
41
|
+
from langtrace_python_sdk.extensions.langtrace_exporter import \
|
42
|
+
LangTraceExporter
|
43
|
+
from langtrace_python_sdk.instrumentation import (
|
44
|
+
AnthropicInstrumentation, AutogenInstrumentation,
|
45
|
+
AWSBedrockInstrumentation, CerebrasInstrumentation, ChromaInstrumentation,
|
46
|
+
CohereInstrumentation, CrewAIInstrumentation, CrewaiToolsInstrumentation,
|
47
|
+
DspyInstrumentation, EmbedchainInstrumentation, GeminiInstrumentation,
|
48
|
+
GoogleGenaiInstrumentation, GroqInstrumentation,
|
49
|
+
LangchainCommunityInstrumentation, LangchainCoreInstrumentation,
|
50
|
+
LangchainInstrumentation, LanggraphInstrumentation, LiteLLMInstrumentation,
|
51
|
+
LlamaindexInstrumentation, MilvusInstrumentation, MistralInstrumentation,
|
52
|
+
OllamaInstrumentor, OpenAIInstrumentation, PineconeInstrumentation,
|
53
|
+
PyMongoInstrumentation, QdrantInstrumentation, VertexAIInstrumentation,
|
54
|
+
WeaviateInstrumentation)
|
55
|
+
from langtrace_python_sdk.types import (DisableInstrumentations,
|
56
|
+
InstrumentationMethods)
|
57
|
+
from langtrace_python_sdk.utils import (check_if_sdk_is_outdated,
|
58
|
+
get_sdk_version, is_package_installed,
|
59
|
+
validate_instrumentations)
|
82
60
|
from langtrace_python_sdk.utils.langtrace_sampler import LangtraceSampler
|
83
|
-
from langtrace_python_sdk.extensions.langtrace_exporter import LangTraceExporter
|
84
|
-
from sentry_sdk.types import Event, Hint
|
85
61
|
|
86
62
|
|
87
63
|
class LangtraceConfig:
|
@@ -309,6 +285,7 @@ def init(
|
|
309
285
|
"pymongo": PyMongoInstrumentation(),
|
310
286
|
"cerebras-cloud-sdk": CerebrasInstrumentation(),
|
311
287
|
"pymilvus": MilvusInstrumentation(),
|
288
|
+
"crewai-tools": CrewaiToolsInstrumentation(),
|
312
289
|
}
|
313
290
|
|
314
291
|
init_instrumentations(config.disable_instrumentations, all_instrumentations)
|
@@ -0,0 +1 @@
|
|
1
|
+
__version__ = "3.4.0"
|
@@ -1 +0,0 @@
|
|
1
|
-
__version__ = "3.3.31"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/autogen_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/autogen_example/main.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cerebras_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cerebras_example/main.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/chroma_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/chroma_example/basic.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/chat.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/chatv2.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/embed.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/rerank.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/rerankv2.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/cohere_example/tools.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/crewai_example/basic.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/QA_basic.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/quiz_gen.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/dspy_example/react.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/embedchain_example/simple.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/fastapi_example/__init__.py
RENAMED
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/gemini_example/__init__.py
RENAMED
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/gemini_example/main.py
RENAMED
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/google_genai_example/main.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/hiveagent_example/basic.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/basic.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langchain_example/tool.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/langgraph_example/main.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/litellm_example/basic.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/litellm_example/config.yaml
RENAMED
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/llamaindex_example/agent.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/llamaindex_example/basic.py
RENAMED
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/milvus_example/main.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/mistral_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/mistral_example/complete.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/ollama_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/ollama_example/basic.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/openai_example/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/otlp_example/otlp_basic.py
RENAMED
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/perplexity_example/basic.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/pinecone_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/pinecone_example/basic.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/qdrant_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/qdrant_example/basic.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/routellm_example/basic.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/vertexai_example/__init__.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/vertexai_example/main.py
RENAMED
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/examples/weaviate_example/__init__.py
RENAMED
File without changes
|
File without changes
|
{langtrace_python_sdk-3.3.31 → langtrace_python_sdk-3.4.0}/src/langtrace_python_sdk/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|