File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 206206 "metadata" : {},
207207 "outputs" : [],
208208 "source" : [
209- " import asyncio\n " ,
210209 " import httpxr\n " ,
211210 " \n " ,
212211 " \n " ,
374373 "outputs" : [],
375374 "source" : [
376375 " import logging\n " ,
376+ " \n " ,
377377 " import httpxr\n " ,
378378 " \n " ,
379379 " logging.basicConfig(level=logging.INFO)\n " ,
414414 "outputs" : [],
415415 "source" : [
416416 " import json\n " ,
417+ " \n " ,
417418 " import httpxr\n " ,
418419 " \n " ,
419420 " with httpxr.Client() as client:\n " ,
512513 "outputs" : [],
513514 "source" : [
514515 " import json\n " ,
515- " import httpxr\n " ,
516- " from httpxr.sse import connect_sse\n " ,
517516 " \n " ,
518517 " # Requires a valid OPENAI_API_KEY in the environment\n " ,
519518 " import os\n " ,
520519 " \n " ,
520+ " import httpxr\n " ,
521+ " from httpxr.sse import connect_sse\n " ,
522+ " \n " ,
521523 " api_key = os.environ.get(\" OPENAI_API_KEY\" , \"\" )\n " ,
522524 " if not api_key:\n " ,
523525 " print(\" ⚠ Set OPENAI_API_KEY to run this cell\" )\n " ,
589591 "source" : [
590592 " try:\n " ,
591593 " import orjson\n " ,
594+ " \n " ,
592595 " import httpxr\n " ,
593596 " \n " ,
594597 " with httpxr.Client() as client:\n " ,
You can’t perform that action at this time.
0 commit comments