Skip to content

Refactor runPrompt usage and remove fetchText and cancel from import prompts #617

Refactor runPrompt usage and remove fetchText and cancel from import prompts

Refactor runPrompt usage and remove fetchText and cancel from import prompts #617

Triggered via pull request September 9, 2024 12:57
Status Success
Total duration 1m 19s
Artifacts 1

genai-pr-commit-review.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
build: packages/core/src/importprompt.ts#L23
The functions `fetchText` and `cancel` have been removed. If these functions are being used elsewhere in the code, this could lead to undefined function errors. Please ensure that these functions are either not being used elsewhere, or that appropriate replacements have been provided. 🕵️‍♀️
build: packages/core/src/types/prompt_template.d.ts#L2263
The function `runPrompt` has been removed from the `PromptContext` interface. If this function is being used in any implementations of this interface, this could lead to undefined function errors. Please ensure that this function is either not being used in any implementations, or that an appropriate replacement has been provided. 🧐
build: packages/core/src/types/prompt_template.d.ts#L1558
The function `runPrompt` has been added to the `ChatGenerationContext` interface. If this function is not implemented in all classes that implement this interface, this could lead to unimplemented function errors. Please ensure that this function is implemented in all classes that use this interface. 🚀

Artifacts

Produced during runtime
Name Size
genai-results Expired
16.5 KB