Add pre-commit hook enforcing 30s test suite time limit (#132)

This commit is contained in:
Alexander Whitestone
2026-03-05 19:45:38 -05:00
committed by GitHub
parent aff3edb06a
commit 2b97da9e9c
65 changed files with 356 additions and 611 deletions

View File

@@ -363,7 +363,8 @@ class DiscordVendor(ChatPlatform):
return None
# Create a thread from this message
thread_name = f"Timmy | {message.author.display_name}"
from config import settings
thread_name = f"{settings.agent_name} | {message.author.display_name}"
thread = await message.create_thread(
name=thread_name[:100],
auto_archive_duration=1440,

View File

@@ -32,7 +32,7 @@ class ShortcutAction:
# Available shortcut actions
SHORTCUT_ACTIONS = [
ShortcutAction(
name="Chat with Timmy",
name="Chat with Agent",
endpoint="/shortcuts/chat",
method="POST",
description="Send a message to Timmy and get a response",