Skip to content

Commit

Permalink
🖲
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Feb 22, 2024
1 parent 29503fe commit 5cdbc80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/answer-engines/dexa-answer-engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export class DexaAnswerEngine extends AnswerEngine {
},
ctx: types.Context
): Promise<string> {
return this._dexaClient.run({ messages: messageThread })
return this._dexaClient.generateResponse({ messages: messageThread })
}
}
2 changes: 1 addition & 1 deletion src/dexa-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class DexaClient {
this.ky = ky.extend({ prefixUrl: this.apiBaseUrl })
}

async run({ messages }: { messages: Prompt.Msg[] }) {
async generateResponse({ messages }: { messages: Prompt.Msg[] }) {
return this.ky
.post('api/ask-dexa', {
json: {
Expand Down

0 comments on commit 5cdbc80

Please sign in to comment.