Skip to content

Commit

Permalink
update ua
Browse files Browse the repository at this point in the history
Signed-off-by: pengzhile <[email protected]>
  • Loading branch information
pengzhile committed Mar 21, 2023
1 parent cf61b94 commit f27de61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pandora/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# -*- coding: utf-8 -*-

__version__ = '0.6.12'
__version__ = '0.6.13'
2 changes: 1 addition & 1 deletion src/pandora/openai/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __init__(self, access_token, proxy=None):
}

self.user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) ' \
'Chrome/109.0.0.0 Safari/537.36'
'Pandora/{} Safari/537.36'.format(__version__)
self.basic_headers = {
'Authorization': 'Bearer ' + self.access_token,
'User-Agent': self.user_agent,
Expand Down

0 comments on commit f27de61

Please sign in to comment.