Fix workspace bucket fallback + typing error logging

This commit is contained in:
daniel
2026-05-07 09:35:09 -05:00
parent 116d79ead5
commit 0951d2be31
2 changed files with 4 additions and 3 deletions

View File

@@ -55,8 +55,9 @@ class TelegramAdapter:
'chat_id': self.chat_id, 'chat_id': self.chat_id,
'action': 'typing', 'action': 'typing',
}) })
except Exception: except Exception as e:
pass import traceback
print(f'[telegram] send_typing failed: {e}\n{traceback.format_exc()}')
def edit(self, message_id: str, text: str) -> None: def edit(self, message_id: str, text: str) -> None:
"""Edit an existing message in-place.""" """Edit an existing message in-place."""

View File

@@ -14,7 +14,7 @@ def _get_s3():
def get_bucket() -> str: def get_bucket() -> str:
return os.environ['WORKSPACE_BUCKET_NAME'] return os.environ.get('WORKSPACE_BUCKET_NAME', 'agent-claw-workspace-495395224548')
def read_file(path: str) -> str: def read_file(path: str) -> str: