13 lines
329 B
TypeScript
13 lines
329 B
TypeScript
import { oapiClient, sendResponse } from '../oapi-client'
|
|
import { getDefaultAgentId } from '../nova-config'
|
|
|
|
export async function GET() {
|
|
const res = await oapiClient.get('/v1/oapi/super_agent/chat/conversation_list', {
|
|
page_no: 1,
|
|
page_size: 10,
|
|
agent_id: getDefaultAgentId(),
|
|
})
|
|
|
|
return sendResponse(res)
|
|
}
|