Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 620911635
  • Loading branch information
colaboratory-team committed Apr 1, 2024
1 parent ab971fc commit 227b37d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions google/colab/_import_hooks/_generativeai.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ def load_module(self, fullname):

def fetch(request):
path = request.path
if request.query:
path = f'{path}?{request.query}'
method = request.method
headers = json.dumps(dict(request.headers))
body = repr(request.body.decode('utf-8')) if request.body else 'null'
Expand Down

0 comments on commit 227b37d

Please sign in to comment.