remove User and Date in response
This commit is contained in:
parent
6bfb39a3bc
commit
a86a2c0ca8
@ -194,11 +194,11 @@ class DevChat {
|
||||
private async runCommand(args: string[]): Promise<{code: number | null, stdout: string, stderr: string}> {
|
||||
// build env variables for command
|
||||
const envs = {
|
||||
...process.env,
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
"PYTHONUTF8":1,
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
"PYTHONPATH": UiUtilWrapper.extensionPath() + "/tools/site-packages",
|
||||
...process.env
|
||||
"PYTHONPATH": UiUtilWrapper.extensionPath() + "/tools/site-packages"
|
||||
};
|
||||
|
||||
const pythonApp = UiUtilWrapper.getConfiguration("DevChat", "PythonForChat") || "python3";
|
||||
@ -291,7 +291,7 @@ class DevChat {
|
||||
"prompt-hash": logs[0]['hash'],
|
||||
user: "",
|
||||
date: "",
|
||||
response: stdout,
|
||||
response: responseData.response,
|
||||
// eslint-disable-next-line @typescript-eslint/naming-convention
|
||||
finish_reason: "",
|
||||
isError: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user