This commit is contained in:
ianarawjo 2023-12-20 14:35:38 -05:00 committed by GitHub
parent d6e850e724
commit 69ff3a1452
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 11 deletions

View File

@ -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"
]
}

View File

@ -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>

View File

@ -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;
};

View File

@ -6,7 +6,7 @@ def readme():
setup(
name='chainforge',
version='0.2.8.1',
version='0.2.8.2',
packages=find_packages(),
author="Ian Arawjo",
description="A Visual Programming Environment for Prompt Engineering",