Skip to content

Use set_up_logging function across multiple modules#28

Merged
fcogidi merged 2 commits intomainfrom
fco/fix_logging
Oct 27, 2025
Merged

Use set_up_logging function across multiple modules#28
fcogidi merged 2 commits intomainfrom
fco/fix_logging

Conversation

@fcogidi
Copy link
Copy Markdown
Collaborator

@fcogidi fcogidi commented Oct 27, 2025

PR Type

Fix

Short Description

Use set_up_logging function to consistently silence "[non-fatal] Tracing client error 401" errors.

Tests Added

N/A

@fcogidi fcogidi requested a review from Copilot October 27, 2025 13:54
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR standardizes logging configuration across multiple modules by replacing direct logging.basicConfig() calls with a centralized set_up_logging() function. The primary goal is to consistently silence "[non-fatal] Tracing client error 401" errors throughout the codebase.

  • Removed standalone logging imports and logging.basicConfig() calls
  • Added set_up_logging function import and invocation
  • Replaced hardcoded model names with references to AGENT_LLM_NAMES dictionary

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/2_frameworks/3_code_interpreter/app.py Replaced logging.basicConfig() with set_up_logging() function
src/2_frameworks/2_multi_agent/efficient.py Replaced logging.basicConfig() with set_up_logging() and updated model references to use dictionary
src/2_frameworks/1_react_rag/langfuse_gradio.py Replaced logging.basicConfig() with set_up_logging() function

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@fcogidi fcogidi merged commit 2847c47 into main Oct 27, 2025
4 checks passed
@fcogidi fcogidi deleted the fco/fix_logging branch October 27, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants