File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636
3737@cl .on_chat_start
3838async def start_chatr ():
39- ### create new dir to clone repo
40- ### and yeah force agentTide llm_config to be zreo
4139 session_id = ulid ()
4240 cl .user_session .set ("session_id" , session_id )
4341 await cl .context .emitter .set_commands (AgentTideUi .commands )
4442 cl .user_session .set ("chat_history" , [])
4543
44+ await cl .Message (
45+ content = "" ,
46+ elements = [
47+ cl .Image (
48+ path = os .getenv ("AGENT_TIDE_LOGO_PATH" ),
49+ size = "large"
50+ )
51+ ]
52+ ).send ()
53+
4654 exception = True
4755 while exception :
4856 try :
@@ -163,9 +171,9 @@ async def start_chatr():
163171 exception = e
164172
165173 await cl .Message (
166- content = "Hi, I'm Tide! Nice to meet you. "
174+ content = "Hi, I'm Tide... Nice to meet you! "
167175 ).send ()
168-
176+
169177 new_branch_name = f"agent-tide-{ ulid ()} "
170178 cl .user_session .set ("current_branch_name" , new_branch_name )
171179 checkout_new_branch (agent_tide_ui .agent_tide .tide .repo , new_branch_name = new_branch_name )
You can’t perform that action at this time.
0 commit comments