🐛 fix(types/components/index.ts): add duration field to validationStatusType to match the changes in chat.py
🐛 fix(chat.py): fix typo in variable name, change time_elapded to time_elapsed for consistency and readability 🐛 fix(chat.py): remove redundant duration information from params field in response object ✨ feat(chat.py): add duration field to response object to provide information about the time taken for the build process 🐛 fix(GenericNode/index.tsx): fix formatting issue in displaying duration and params in GenericNode component 🐛 fix(GenericNode/index.tsx): fix type annotation for line variable in map function
This commit is contained in:
parent
e3dcd9b926
commit
9770f67227
3 changed files with 6 additions and 5 deletions
|
|
@ -317,9 +317,9 @@ export default function GenericNode({
|
|||
) : (
|
||||
<div className="max-h-96 overflow-auto">
|
||||
{typeof validationStatus.params === "string"
|
||||
? validationStatus.params
|
||||
? `Duration: ${validationStatus.duration}\n${validationStatus.params}`
|
||||
.split("\n")
|
||||
.map((line: string, index: number) => (
|
||||
.map((line, index) => (
|
||||
<div key={index}>{line}</div>
|
||||
))
|
||||
: ""}
|
||||
|
|
|
|||
|
|
@ -631,6 +631,7 @@ export type validationStatusType = {
|
|||
params: string;
|
||||
progress: number;
|
||||
valid: boolean;
|
||||
duration: string;
|
||||
};
|
||||
|
||||
export type ApiKey = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue