Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
dee7712
added message masking
paullizer Nov 24, 2025
d601028
fixed citation border
paullizer Nov 25, 2025
bead92a
enabled streaming
paullizer Dec 2, 2025
c939592
image gen with streaming
paullizer Dec 2, 2025
c17d3d9
added reasoning support
paullizer Dec 3, 2025
ba7e9cc
added reasoning to agents
paullizer Dec 3, 2025
030f34b
agent support
paullizer Dec 3, 2025
d96f3f1
fixed key bug
paullizer Dec 3, 2025
31f2f6d
disable group create and fixed model fetch
paullizer Dec 3, 2025
7e5a092
updated config
paullizer Dec 3, 2025
5f8fdf8
fixed support for workspace search for streaming
paullizer Dec 3, 2025
4929ae1
fix bug with sidebar update
paullizer Dec 3, 2025
d14957b
fixed gpt-5 vision processing bug
paullizer Dec 4, 2025
9d03cf2
metadata works with all messages now
paullizer Dec 4, 2025
269076a
fixed debug_print bug
paullizer Dec 5, 2025
4bda013
added reasoning effort to agents and fixed agent validation
paullizer Dec 6, 2025
f762965
fixed file metadata loading bug
paullizer Dec 6, 2025
1cebd79
fixed llm streaming when working with group workspace data
paullizer Dec 8, 2025
9aec72a
fixed cosmos container config error
paullizer Dec 9, 2025
fb8a521
added delete message and fixed message threading
paullizer Dec 10, 2025
20a640f
retry bug fixes
paullizer Dec 18, 2025
a758db7
fixed message threading order
paullizer Dec 18, 2025
2080445
moved message buttons to menu
paullizer Dec 18, 2025
3ae7d40
fixed bug for conversation history that included inactive threads
paullizer Dec 18, 2025
c6ea012
added css styling for urls for dark mode
paullizer Dec 18, 2025
9b2ae86
fixed bug with newly created messages not showing metadata or deleting
paullizer Dec 19, 2025
5ea2b70
improved search times by 100x
paullizer Dec 19, 2025
7620266
added token collect to messages supports models and agents
paullizer Dec 19, 2025
7a76dc6
added streaming for agents along with token collection
paullizer Dec 19, 2025
873744b
added embedding token tracking
paullizer Dec 19, 2025
771fb2b
added document creation/deletion and token tracking to activity log
paullizer Dec 19, 2025
a3db0d9
adding conversations to activity logs
paullizer Dec 19, 2025
84ccc8a
added activity log viewer with filters, search, and export
paullizer Dec 19, 2025
4c04259
added support for agents in edit and retry messages
paullizer Dec 19, 2025
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
8 changes: 5 additions & 3 deletions application/single_app/app.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -165,8 +165,10 @@ def before_first_request():
settings = get_settings(use_cosmos=True)
app_settings_cache.configure_app_cache(settings, get_redis_cache_infrastructure_endpoint(settings.get('redis_url', '').strip().split('.')[0]))
app_settings_cache.update_settings_cache(settings)
print(f"DEBUG:Application settings: {settings}")
print(f"DEBUG:App settings cache initialized: {'Using Redis cache:' + str(app_settings_cache.app_cache_is_using_redis)} {app_settings_cache.get_settings_cache()}")
sanitized_settings = sanitize_settings_for_logging(settings)
debug_print(f"DEBUG:Application settings: {sanitized_settings}")
sanitized_settings_cache = sanitize_settings_for_logging(app_settings_cache.get_settings_cache())
debug_print(f"DEBUG:App settings cache initialized: {'Using Redis cache:' + str(app_settings_cache.app_cache_is_using_redis)} {sanitized_settings_cache}")

initialize_clients(settings)
ensure_custom_logo_file_exists(app, settings)
Expand DownExpand Up@@ -199,7 +201,7 @@ def check_logging_timers():
turnoff_time = None

if turnoff_time and current_time >= turnoff_time:
debug_print(f"[DEBUG]: logging timer expired at {turnoff_time}. Disabling debug logging.")
debug_print(f"logging timer expired at {turnoff_time}. Disabling debug logging.")
settings['enable_debug_logging'] = False
settings['debug_logging_timer_enabled'] = False
settings['debug_logging_turnoff_time'] = None
Expand Down
32 changes: 15 additions & 17 deletions application/single_app/config.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -88,7 +88,7 @@
EXECUTOR_TYPE = 'thread'
EXECUTOR_MAX_WORKERS = 30
SESSION_TYPE = 'filesystem'
VERSION = "0.233.179"
VERSION = "0.233.318"


SECRET_KEY = os.getenv('SECRET_KEY', 'dev-secret-key-change-in-production')
Expand DownExpand Up@@ -236,6 +236,17 @@ def get_redis_cache_infrastructure_endpoint(redis_hostname: str) -> str:
partition_key=PartitionKey(path="/conversation_id")
)

cosmos_group_conversations_container_name = "group_conversations"
cosmos_group_conversations_container = cosmos_database.create_container_if_not_exists(
id=cosmos_group_conversations_container_name,
partition_key=PartitionKey(path="/id")
)

cosmos_group_messages_container_name = "group_messages"
cosmos_group_messages_container = cosmos_database.create_container_if_not_exists(
id=cosmos_group_messages_container_name,
partition_key=PartitionKey(path="/conversation_id")
)

cosmos_settings_container_name = "settings"
cosmos_settings_container = cosmos_database.create_container_if_not_exists(
Expand DownExpand Up@@ -339,18 +350,6 @@ def get_redis_cache_infrastructure_endpoint(redis_hostname: str) -> str:
partition_key=PartitionKey(path="/user_id")
)

cosmos_file_processing_container_name = "group_messages"
cosmos_file_processing_container = cosmos_database.create_container_if_not_exists(
id=cosmos_file_processing_container_name,
partition_key=PartitionKey(path="/conversation_id")
)

cosmos_file_processing_container_name = "group_conversations"
cosmos_file_processing_container = cosmos_database.create_container_if_not_exists(
id=cosmos_file_processing_container_name,
partition_key=PartitionKey(path="/id")
)

cosmos_group_agents_container_name = "group_agents"
cosmos_group_agents_container = cosmos_database.create_container_if_not_exists(
id=cosmos_group_agents_container_name,
Expand DownExpand Up@@ -385,7 +384,6 @@ def get_redis_cache_infrastructure_endpoint(redis_hostname: str) -> str:
cosmos_search_cache_container = cosmos_database.create_container_if_not_exists(
id=cosmos_search_cache_container_name,
partition_key=PartitionKey(path="/user_id")
# No default_ttl - TTL controlled by app logic via admin settings for flexibility
)

cosmos_activity_logs_container_name = "activity_logs"
Expand DownExpand Up@@ -687,11 +685,11 @@ def initialize_clients(settings):
try:
container_client = blob_service_client.get_container_client(container_name)
if not container_client.exists():
print(f"[DEBUG]: Container '{container_name}' does not exist. Creating...")
print(f"Container '{container_name}' does not exist. Creating...")
container_client.create_container()
print(f"[DEBUG]: Container '{container_name}' created successfully.")
print(f"Container '{container_name}' created successfully.")
else:
print(f"[DEBUG]: Container '{container_name}' already exists.")
print(f"Container '{container_name}' already exists.")
except Exception as container_error:
print(f"Error creating container {container_name}: {str(container_error)}")
except Exception as e:
Expand Down
Loading