Bug fix on Py execution

This commit is contained in:
Ian Arawjo 2023-09-03 12:43:14 -04:00
parent 0134dbf59b
commit ab75768587
2 changed files with 2 additions and 2 deletions

View File

@ -275,7 +275,7 @@ def executepy():
data = request.get_json()
# Check that all required info is here:
if not set(data.keys()).issuperset({'id', 'code', 'responses', 'scope', 'token'}):
if not set(data.keys()).issuperset({'id', 'code', 'responses', 'scope'}):
return jsonify({'error': 'POST data is improper format.'})
if not isinstance(data['id'], str) or len(data['id']) == 0:
return jsonify({'error': 'POST data id is improper format (length 0 or not a string).'})

View File

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