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: 0 additions & 2 deletions src/api/create-chat-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ export const createChatSession = async () => {

interface CreateChatSessionResponse {
data: {
chat_session: {
session_id: string;
created_at: string;
session_title: string;
};
};
status: "success" | "error";
}
2 changes: 1 addition & 1 deletion src/api/create-chat-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ export const createChatStream = async (props: ChatProps) => {
interface ChatStreamResponse {
success: "success" | "error",
data: {
stream_id: string
chat_message_id: string
}
}
23 changes: 0 additions & 23 deletions src/api/create-session.ts

This file was deleted.

51 changes: 0 additions & 51 deletions src/api/create-storymap.ts

This file was deleted.

44 changes: 0 additions & 44 deletions src/api/storymap-status-poll.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export const LOCAL_API_URL = "http://localhost:8000"
// }
// }

export const BASE_URL = API_URL
export const BASE_URL = LOCAL_API_URL
Loading