Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agentic_nav/agents/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
from agentic_nav.agents.neurips2025_conference import NeurIPS2025Agent, DEFAULT_NEURIPS2025_AGENT_ARGS, AGENT_INTRODUCTION_PROMPT
from agentic_nav.agents.neurips2025_conference import NeurIPS2025Agent, DEFAULT_NEURIPS2025_AGENT_ARGS, AGENT_INTRODUCTION_PROMPT, SMALL_SCREEN_USER_PROMPT_ADDITIONAL_NOTE
8 changes: 6 additions & 2 deletions agentic_nav/agents/neurips2025_conference.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,17 @@
"content": f"""
Welcome to AgenticNAV!
I am happy to assist you navigating NeurIPS 2025. You can ask things like:
- "Please show me paper on LLM request routing"
- "Please build a schedule for me to visit posters on federated learning on Tuesday afternoon"
- "Please show me papers on LLM request routing"
- "Please build a schedule for me to visit posters on federated learning on December 3 afternoon"

Feel free to start anytime you are ready!
"""
}

SMALL_SCREEN_USER_PROMPT_ADDITIONAL_NOTE = "(Note: You are using a small screen device. " \
"Please format your responses accordingly to ensure readability. " \
"Please never use tables. " \
"Follow the other system instructions carefully except that you should not use tables, especially make sure to include the required links.)"


@dataclass
Expand Down
4 changes: 2 additions & 2 deletions agentic_nav/frontend/browser_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from pathlib import Path
from typing import List, Tuple, Optional, Dict

from agentic_nav.agents import NeurIPS2025Agent, DEFAULT_NEURIPS2025_AGENT_ARGS, AGENT_INTRODUCTION_PROMPT
from agentic_nav.agents import NeurIPS2025Agent, DEFAULT_NEURIPS2025_AGENT_ARGS, AGENT_INTRODUCTION_PROMPT, SMALL_SCREEN_USER_PROMPT_ADDITIONAL_NOTE
from agentic_nav.utils.logger import setup_logging
from agentic_nav.utils.file_handlers import save_chat_history

Expand Down Expand Up @@ -123,7 +123,7 @@ def chat_fn(
try:
if width < 1200:
LOGGER.info("Detected small screen width, appending note to user message.")
new_message += "\n\n(Note: You are using a small screen device. Please format your responses accordingly to ensure readability. Please never use tables.)"
new_message += "\n\n" + SMALL_SCREEN_USER_PROMPT_ADDITIONAL_NOTE

# Create user message with timestamp
user_message = {
Expand Down