diff --git a/api/src/utils/get_audiocast.py b/api/src/utils/get_audiocast.py
index 1618e2f..3d56a8f 100644
--- a/api/src/utils/get_audiocast.py
+++ b/api/src/utils/get_audiocast.py
@@ -13,8 +13,14 @@ def get_audiocast(session_id: str):
"""
Get audiocast based on session id
"""
- storage_manager = StorageManager()
- filepath = storage_manager.download_from_gcs(session_id)
+ try:
+ storage_manager = StorageManager()
+ filepath = storage_manager.download_from_gcs(session_id)
+ except Exception as e:
+ raise HTTPException(
+ status_code=404,
+ detail=f"Audiocast asset not found for session_id: {session_id}",
+ )
session_data = SessionManager(session_id).data()
if not session_data:
diff --git a/app/src/lib/components/chat-list/ChatListActionItems.svelte b/app/src/lib/components/ChatListActionItems.svelte
similarity index 88%
rename from app/src/lib/components/chat-list/ChatListActionItems.svelte
rename to app/src/lib/components/ChatListActionItems.svelte
index df426ec..8575ebc 100644
--- a/app/src/lib/components/chat-list/ChatListActionItems.svelte
+++ b/app/src/lib/components/ChatListActionItems.svelte
@@ -37,12 +37,8 @@
$audioSource$ = response;
}
-
- async function onstartNew() {
- return goto('/', { invalidateAll: true, replaceState: true });
- }
-
+
diff --git a/app/src/lib/components/chat-list/ChatListItem.svelte b/app/src/lib/components/ChatListItem.svelte
similarity index 100%
rename from app/src/lib/components/chat-list/ChatListItem.svelte
rename to app/src/lib/components/ChatListItem.svelte
diff --git a/app/src/lib/components/CheckFinalResponse.svelte b/app/src/lib/components/CheckFinalResponse.svelte
index 2290bf2..20573a1 100644
--- a/app/src/lib/components/CheckFinalResponse.svelte
+++ b/app/src/lib/components/CheckFinalResponse.svelte
@@ -13,7 +13,6 @@
export let content: string;
const dispatch = createEventDispatcher<{
- startNew: void;
reviewSource: { summary: string };
generate: { summary: string };
}>();
@@ -37,7 +36,7 @@
>
{:else}
-
+
{/if}
-
-
{/if}
diff --git a/app/src/lib/components/RenderAudioSource.svelte b/app/src/lib/components/RenderAudioSource.svelte
index caa3684..15b174b 100644
--- a/app/src/lib/components/RenderAudioSource.svelte
+++ b/app/src/lib/components/RenderAudioSource.svelte
@@ -11,7 +11,7 @@
-
diff --git a/app/src/routes/chat/[sessionId=sessionId]/+page.svelte b/app/src/routes/chat/[sessionId=sessionId]/+page.svelte
index 0a24d9d..b81c54f 100644
--- a/app/src/routes/chat/[sessionId=sessionId]/+page.svelte
+++ b/app/src/routes/chat/[sessionId=sessionId]/+page.svelte
@@ -1,14 +1,14 @@