Skip to content
Snippets Groups Projects
Unverified Commit 6c3e5d08 authored by Parham Saidi's avatar Parham Saidi Committed by GitHub
Browse files

fix: switch to correct reference for a static function (#978)

parent 6e194828
No related branches found
No related tags found
No related merge requests found
---
"llamaindex": patch
---
fix: switch to correct reference for a static function
...@@ -64,7 +64,7 @@ export class EngineResponse implements ChatResponse, ChatResponseChunk { ...@@ -64,7 +64,7 @@ export class EngineResponse implements ChatResponse, ChatResponseChunk {
sourceNodes?: NodeWithScore[], sourceNodes?: NodeWithScore[],
): EngineResponse { ): EngineResponse {
return new EngineResponse( return new EngineResponse(
this.toChatResponse(chunk.delta, chunk.raw), EngineResponse.toChatResponse(chunk.delta, chunk.raw),
true, true,
sourceNodes, sourceNodes,
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment