webscout 3.2__py3-none-any.whl → 3.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of webscout might be problematic. Click here for more details.

webscout/AIutel.py CHANGED
@@ -214,12 +214,12 @@ class Conversation:
214
214
  ), f"File '{filepath}' does not exist"
215
215
  if not os.path.isfile(filepath):
216
216
  logging.debug(f"Creating new chat-history file - '{filepath}'")
217
- with open(filepath, "w") as fh: # Try creating new file
217
+ with open(filepath, "w", encoding='utf-8') as fh: # Try creating new file
218
218
  # lets add intro here
219
219
  fh.write(self.intro)
220
220
  else:
221
221
  logging.debug(f"Loading conversation from '{filepath}'")
222
- with open(filepath) as fh:
222
+ with open(filepath, encoding='utf-8') as fh:
223
223
  file_contents = fh.read()
224
224
  # Presume intro prompt is part of the file content
225
225
  self.chat_history = file_contents
@@ -270,7 +270,7 @@ class Conversation:
270
270
  return
271
271
  new_history = self.history_format % dict(user=prompt, llm=response)
272
272
  if self.file and self.update_file:
273
- with open(self.file, "a") as fh:
273
+ with open(self.file, "a", encoding='utf-8') as fh:
274
274
  fh.write(new_history)
275
275
  self.chat_history += new_history
276
276
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: webscout
3
- Version: 3.2
3
+ Version: 3.3
4
4
  Summary: Search for anything using Google, DuckDuckGo, phind.com, Contains AI models, can transcribe yt videos, temporary email and phone number generation, has TTS support, webai (terminal gpt and open interpreter) and offline LLMs
5
5
  Author: OEvortex
6
6
  Author-email: helpingai5@gmail.com
@@ -12,7 +12,7 @@ DeepWEBS/utilsdw/enver.py,sha256=vpI7s4_o_VL9govSryOv-z1zYK3pTEW3-H9QNN8JYtc,247
12
12
  DeepWEBS/utilsdw/logger.py,sha256=Z0nFUcEGyU8r28yKiIyvEtO26xxpmJgbvNToTfwZecc,8174
13
13
  webscout/AIauto.py,sha256=xPGr_Z0h27XXNh4Wiufjn9TksDOqxqlaGcLUYKNP55w,18246
14
14
  webscout/AIbase.py,sha256=GoHbN8r0gq2saYRZv6LA-Fr9Jlcjv80STKFXUq2ZeGU,4710
15
- webscout/AIutel.py,sha256=9ILWTcru3yw5Cs-OTGQqI-P0L-bYjc_PsdDBTbJNHRc,33400
15
+ webscout/AIutel.py,sha256=Ghe9w1gqnCZTwjc3NzXymSamY3nP0zEep4NiATW32Qk,33454
16
16
  webscout/DWEBS.py,sha256=QT-7-dUgWhQ_H7EVZD53AVyXxyskoPMKCkFIpzkN56Q,7332
17
17
  webscout/LLM.py,sha256=LbGCZdJf8A5dwfoGS4tyy39tAh5BDdhMZP0ScKaaQfU,4184
18
18
  webscout/__init__.py,sha256=pOqM5UGmljQN4jTrL3kyrjMv66VuTPyzfNlXZra9KLQ,1872
@@ -60,9 +60,9 @@ webscout/Provider/Xjai.py,sha256=BIlk2ouz9Kh_0Gg9hPvTqhI7XtcmWdg5vHSX_4uGrIs,903
60
60
  webscout/Provider/Yepchat.py,sha256=2Eit-A7w1ph1GQKNQuur_yaDzI64r0yBGxCIjDefJxQ,19875
61
61
  webscout/Provider/Youchat.py,sha256=UVGBuGSjv4uRibn1xflmCjYcfrRTKnDvX3adhag6T98,7976
62
62
  webscout/Provider/__init__.py,sha256=lxvdW9dUk7rSjZTUaI4PrfTMGEwktJ_c82iyg-n9LIk,1506
63
- webscout-3.2.dist-info/LICENSE.md,sha256=9P0imsudI7MEvZe2pOcg8rKBn6E5FGHQ-riYozZI-Bk,2942
64
- webscout-3.2.dist-info/METADATA,sha256=4WLQIoVuuVrvjygK1SJnOhNTdlAPEkdRpjrnqMmLZlM,67184
65
- webscout-3.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
66
- webscout-3.2.dist-info/entry_points.txt,sha256=Hh4YIIjvkqB9SVxZ2ri4DZUkgEu_WF_5_r_nZDIvfG8,73
67
- webscout-3.2.dist-info/top_level.txt,sha256=OD5YKy6Y3hldL7SmuxsiEDxAG4LgdSSWwzYk22MF9fk,18
68
- webscout-3.2.dist-info/RECORD,,
63
+ webscout-3.3.dist-info/LICENSE.md,sha256=9P0imsudI7MEvZe2pOcg8rKBn6E5FGHQ-riYozZI-Bk,2942
64
+ webscout-3.3.dist-info/METADATA,sha256=X8VHG0hDnfdEOxYBPJ5qOLiq7ufjdJPCrLagDBFF8qQ,67184
65
+ webscout-3.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
66
+ webscout-3.3.dist-info/entry_points.txt,sha256=Hh4YIIjvkqB9SVxZ2ri4DZUkgEu_WF_5_r_nZDIvfG8,73
67
+ webscout-3.3.dist-info/top_level.txt,sha256=OD5YKy6Y3hldL7SmuxsiEDxAG4LgdSSWwzYk22MF9fk,18
68
+ webscout-3.3.dist-info/RECORD,,
File without changes