mirror of
https://github.com/ianarawjo/ChainForge.git
synced 2025-03-14 08:16:37 +00:00
Bug fix (#197)
This commit is contained in:
parent
d6e850e724
commit
69ff3a1452
@ -1,15 +1,15 @@
|
||||
{
|
||||
"files": {
|
||||
"main.css": "/static/css/main.847ce933.css",
|
||||
"main.js": "/static/js/main.84c4d13c.js",
|
||||
"main.js": "/static/js/main.508b0a68.js",
|
||||
"static/js/787.4c72bb55.chunk.js": "/static/js/787.4c72bb55.chunk.js",
|
||||
"index.html": "/index.html",
|
||||
"main.847ce933.css.map": "/static/css/main.847ce933.css.map",
|
||||
"main.84c4d13c.js.map": "/static/js/main.84c4d13c.js.map",
|
||||
"main.508b0a68.js.map": "/static/js/main.508b0a68.js.map",
|
||||
"787.4c72bb55.chunk.js.map": "/static/js/787.4c72bb55.chunk.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.847ce933.css",
|
||||
"static/js/main.84c4d13c.js"
|
||||
"static/js/main.508b0a68.js"
|
||||
]
|
||||
}
|
@ -1 +1 @@
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><script async src="https://www.googletagmanager.com/gtag/js?id=G-RN3FDBLMCR"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-RN3FDBLMCR")</script><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A visual programming environment for prompt engineering"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>ChainForge</title><script defer="defer" src="/static/js/main.84c4d13c.js"></script><link href="/static/css/main.847ce933.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
||||
<!doctype html><html lang="en"><head><meta charset="utf-8"/><script async src="https://www.googletagmanager.com/gtag/js?id=G-RN3FDBLMCR"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-RN3FDBLMCR")</script><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A visual programming environment for prompt engineering"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>ChainForge</title><script defer="defer" src="/static/js/main.508b0a68.js"></script><link href="/static/css/main.847ce933.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1092,9 +1092,9 @@ export const toStandardResponseFormat = (r) => {
|
||||
responses: [typeof r === 'string' ? r : r?.text],
|
||||
tokens: r?.raw_response?.usage ?? {},
|
||||
};
|
||||
if ('eval_res' in r)
|
||||
if (r?.eval_res !== undefined)
|
||||
resp_obj.eval_res = r.eval_res;
|
||||
if ('chat_history' in r)
|
||||
if (r?.chat_history !== undefined)
|
||||
resp_obj.chat_history = r.chat_history;
|
||||
return resp_obj;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user