mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
Merge pull request #119 from rowboatlabs/dev
Make tracing env var access safe
This commit is contained in:
commit
28ad7008e4
1 changed files with 1 additions and 3 deletions
|
|
@ -16,10 +16,8 @@ print("Master config:", master_config)
|
|||
|
||||
# Get environment variables with defaults
|
||||
ENABLE_TRACING = False
|
||||
try:
|
||||
if os.environ.get('ENABLE_TRACING'):
|
||||
ENABLE_TRACING = os.environ.get('ENABLE_TRACING').lower() == 'true'
|
||||
except Exception as e:
|
||||
print(f"Error getting ENABLE_TRACING: {e}, using default of False")
|
||||
|
||||
# filter out agent transfer messages using a function
|
||||
def is_agent_transfer_message(msg):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue