show empty message for empty terminal for terminal context provider
This commit is contained in:
parent
11afeaeb18
commit
f19ac5950f
1 changed files with 3 additions and 1 deletions
|
|
@ -21,7 +21,9 @@ class TerminalContextProvider extends BaseContextProvider {
|
|||
return [
|
||||
{
|
||||
description: "The contents of the terminal",
|
||||
content: `Current terminal contents:\n\n${content}`,
|
||||
content: `Current terminal contents:\n\n${
|
||||
content || "The terminal is empty."
|
||||
}`,
|
||||
name: "Terminal",
|
||||
},
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue