forked from Rockachopa/Timmy-time-dashboard
Add pre-commit hook enforcing 30s test suite time limit (#132)
This commit is contained in:
committed by
GitHub
parent
aff3edb06a
commit
2b97da9e9c
@@ -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,
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user