Skip to content

Commit

Permalink
chore: delint
Browse files Browse the repository at this point in the history
  • Loading branch information
anubhav756 committed Nov 15, 2024
1 parent b64bdc7 commit 42a7daa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm_demo/orchestrator/langgraph/react_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async def acall_model(state: UserState, config: RunnableConfig):

if "```json" in res.content:
try:
response = res.content.replace("```json", "").replace("```", "")
response = str(res.content).replace("```json", "").replace("```", "")
json_response = json.loads(response)
action = json_response.get("action")
action_input = json_response.get("action_input")
Expand Down

0 comments on commit 42a7daa

Please sign in to comment.