-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Claude 3 and Pyodide sandboxing (#237)
Adds pyodide WebWorker to run Python scripts, thanks to idea by Shreya. * Add sandbox option to Python eval nodes. * Add new Anthropic models * Disable guards for Python evals on server * Fix bug with detecting async func in runOverResponses --------- Co-authored-by: Shreya Shankar <ss.shankar505@gmail.com>
- Loading branch information
1 parent
0a45383
commit 0f4275b
Showing
32 changed files
with
706 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,10 @@ __pycache__/ | |
*.py[cod] | ||
*$py.class | ||
|
||
# Docker | ||
packages/ | ||
jobs/ | ||
|
||
# C extensions | ||
*.so | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{ | ||
"files": { | ||
"main.css": "/static/css/main.85149714.css", | ||
"main.js": "/static/js/main.19a7c43a.js", | ||
"main.js": "/static/js/main.6a995798.js", | ||
"static/js/477.650352c6.chunk.js": "/static/js/477.650352c6.chunk.js", | ||
"static/js/787.4c72bb55.chunk.js": "/static/js/787.4c72bb55.chunk.js", | ||
"index.html": "/index.html", | ||
"main.85149714.css.map": "/static/css/main.85149714.css.map", | ||
"main.19a7c43a.js.map": "/static/js/main.19a7c43a.js.map", | ||
"main.6a995798.js.map": "/static/js/main.6a995798.js.map", | ||
"477.650352c6.chunk.js.map": "/static/js/477.650352c6.chunk.js.map", | ||
"787.4c72bb55.chunk.js.map": "/static/js/787.4c72bb55.chunk.js.map" | ||
}, | ||
"entrypoints": [ | ||
"static/css/main.85149714.css", | ||
"static/js/main.19a7c43a.js" | ||
"static/js/main.6a995798.js" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.19a7c43a.js"></script><link href="/static/css/main.85149714.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.6a995798.js"></script><link href="/static/css/main.85149714.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> |
3 changes: 3 additions & 0 deletions
3
chainforge/react-server/build/static/js/477.650352c6.chunk.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
chainforge/react-server/build/static/js/477.650352c6.chunk.js.LICENSE.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ |
1 change: 1 addition & 0 deletions
1
chainforge/react-server/build/static/js/477.650352c6.chunk.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
...t-server/build/static/js/main.19a7c43a.js → ...t-server/build/static/js/main.6a995798.js
Large diffs are not rendered by default.
Oops, something went wrong.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...rver/build/static/js/main.19a7c43a.js.map → ...rver/build/static/js/main.6a995798.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.