Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bboynton97 committed Aug 8, 2024
1 parent 5309582 commit add27dc
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions examples/langchain_examples.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"cell_type": "code",
"source": [
"import agentops\n",
"#%pip install langchain==0.2.9"
"\n",
"# %pip install langchain==0.2.9"
],
"id": "8e3d38adc7861277",
"outputs": [],
Expand Down Expand Up @@ -152,8 +153,7 @@
" (\"placeholder\", \"{agent_scratchpad}\"),\n",
" # (\"tool_names\", \"find_movie\")\n",
" ]\n",
")\n",
"\n"
")"
],
"metadata": {
"collapsed": false,
Expand All @@ -168,7 +168,7 @@
"name": "stderr",
"output_type": "stream",
"text": [
"🖇 AgentOps: \u001B[34m\u001B[34mSession Replay: https://app.agentops.ai/drilldown?session_id=418f60fc-a709-4a61-952c-6b9670406198\u001B[0m\u001B[0m\n"
"🖇 AgentOps: \u001b[34m\u001b[34mSession Replay: https://app.agentops.ai/drilldown?session_id=418f60fc-a709-4a61-952c-6b9670406198\u001b[0m\u001b[0m\n"
]
}
],
Expand Down Expand Up @@ -316,7 +316,11 @@
}
},
"cell_type": "code",
"source": "agent_executor.invoke({\"input\": \"What comedies are playing?\"}, config={'callback': [agentops_handler]})",
"source": [
"agent_executor.invoke(\n",
" {\"input\": \"What comedies are playing?\"}, config={\"callback\": [agentops_handler]}\n",
")"
],
"id": "bb90bf54b5a42a63",
"outputs": [
{
Expand Down

0 comments on commit add27dc

Please sign in to comment.