Skip to content

Commit

Permalink
wip: fix chart
Browse files Browse the repository at this point in the history
  • Loading branch information
cyyeh committed Dec 18, 2024
1 parent e4790b6 commit 9ee90e0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def run(
try:
generation_result = orjson.loads(replies[0])
reasoning = generation_result.get("reasoning", "")
if chart_schema := generation_result.get("chart_schema", {}):
if chart_schema := orjson.loads(generation_result.get("chart_schema", {})):
# validate(chart_schema, schema=vega_schema)
chart_schema["data"]["values"] = []
return {
Expand Down

0 comments on commit 9ee90e0

Please sign in to comment.