mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 05:29:12 +00:00
Show executed code in web app chat message references
This commit is contained in:
@@ -295,6 +295,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
|
||||
message: message.rawQuery,
|
||||
context: [],
|
||||
onlineContext: {},
|
||||
codeContext: {},
|
||||
created: message.timestamp,
|
||||
by: "you",
|
||||
automationId: "",
|
||||
@@ -318,6 +319,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
|
||||
message: message.rawResponse,
|
||||
context: message.context,
|
||||
onlineContext: message.onlineContext,
|
||||
codeContext: message.codeContext,
|
||||
created: message.timestamp,
|
||||
by: "khoj",
|
||||
automationId: "",
|
||||
@@ -338,6 +340,7 @@ export default function ChatHistory(props: ChatHistoryProps) {
|
||||
message: props.pendingMessage,
|
||||
context: [],
|
||||
onlineContext: {},
|
||||
codeContext: {},
|
||||
created: new Date().getTime().toString(),
|
||||
by: "you",
|
||||
automationId: "",
|
||||
|
||||
Reference in New Issue
Block a user