mirror of
https://github.com/OpenBankProject/API-Explorer-II.git
synced 2026-02-06 10:47:04 +00:00
bugfix broken import
This commit is contained in:
parent
0124ba465e
commit
c8228e171f
@ -6,7 +6,6 @@ import { Service } from 'typedi'
|
||||
import OBPClientService from '../services/OBPClientService'
|
||||
import OpeyClientService from '../services/OpeyClientService'
|
||||
import { LangChainAdapter, streamText } from 'ai';
|
||||
import { StreamEvent } from '@langchain/core/types/stream'
|
||||
|
||||
import { UserInput } from '../schema/OpeySchema'
|
||||
import { strictEqual } from 'node:assert'
|
||||
@ -200,12 +199,12 @@ export class OpeyController {
|
||||
}
|
||||
)
|
||||
|
||||
console.log("Consent request response: ", res)
|
||||
// console.log("Consent request response: ", res)
|
||||
|
||||
if (!res) {
|
||||
throw new Error(`Error getting consent request: ${JSON.stringify(res)}`)
|
||||
// if (!res) {
|
||||
// throw new Error(`Error getting consent request: ${JSON.stringify(res)}`)
|
||||
|
||||
}
|
||||
// }
|
||||
} catch (error) {
|
||||
console.error("Error in consent/request endpoint: ", error);
|
||||
return response.status(500).json({ error: 'Internal Server Error' });
|
||||
|
||||
@ -9,7 +9,6 @@ import { ElMessage } from 'element-plus'
|
||||
import ChatMessage from './ChatMessage.vue';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { OpeyStreamContext, OpeyMessage, UserMessage, sendOpeyMessage } from '@/obp/opey-functions';
|
||||
import { last } from 'cheerio/dist/commonjs/api/traversing';
|
||||
|
||||
export default {
|
||||
setup () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user