Skip to content

Commit

Permalink
Add TODO to getSessions()
Browse files Browse the repository at this point in the history
Signed-off-by: gaobinlong <[email protected]>
  • Loading branch information
gaobinlong committed Nov 27, 2023
1 parent 0199b72 commit 45d3065
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/services/storage/agent_framework_storage_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class AgentFrameworkStorageService implements StorageService {
};
}

// TODO: return real update_time in the response once the agent framework supports update_time field
async getSessions(query: GetSessionsSchema): Promise<ISessionFindResponse> {
let sortField = '';
if (query.sortField === 'updatedTimeMs') {
Expand Down Expand Up @@ -131,7 +132,7 @@ export class AgentFrameworkStorageService implements StorageService {
sessionId: string | undefined,
messages: IMessage[]
): Promise<{ sessionId: string; messages: IMessage[] }> {
throw new Error('Method is no need');
throw new Error('Method is not needed');
}

async deleteSession(sessionId: string): Promise<SessionOptResponse> {
Expand Down

0 comments on commit 45d3065

Please sign in to comment.