You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[7 ] [2024-11-02_17-10-06] Max Retries Exceeded During Generation, Aborting!
Traceback (most recent call last):
File "/b/Dropbox/g/AIStoryWriter/Writer/Interface/Wrapper.py", line 163, in SafeGenerateJSON
JSONResponse = json.loads(self.GetLastMessageText(Response))
File "/home/jgi/anaconda3/envs/AIStoryWriter/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/home/jgi/anaconda3/envs/AIStoryWriter/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/jgi/anaconda3/envs/AIStoryWriter/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/b/Dropbox/g/AIStoryWriter/Writer/Interface/Wrapper.py", line 313, in ChatAndStreamResponse
Stream = self.Clients[_Model].generate_content(
File "/home/jgi/anaconda3/envs/AIStoryWriter/lib/python3.10/site-packages/google/generativeai/generative_models.py", line 303, in generate_content
raise TypeError("contents must not be empty")
TypeError: contents must not be empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/b/Dropbox/g/AIStoryWriter/Write.py", line 329, in <module>
Chapter = Writer.Chapter.ChapterGenerator.GenerateChapter(
File "/b/Dropbox/g/AIStoryWriter/Writer/Chapter/ChapterGenerator.py", line 170, in GenerateChapter
Stage1Chapter = Writer.Scene.ChapterByScene.ChapterByScene(Interface, _Logger, ThisChapterOutline, _Outline, _BaseContext)
File "/b/Dropbox/g/AIStoryWriter/Writer/Scene/ChapterByScene.py", line 20, in ChapterByScene
SceneJSONList = Writer.Scene.ScenesToJSON.ScenesToJSON(Interface, _Logger, SceneBySceneOutline)
File "/b/Dropbox/g/AIStoryWriter/Writer/Scene/ScenesToJSON.py", line 17, in ScenesToJSON
_, SceneList = Interface.SafeGenerateJSON(_Logger, MesssageHistory, Writer.Config.CHECKER_MODEL)
File "/b/Dropbox/g/AIStoryWriter/Writer/Interface/Wrapper.py", line 175, in SafeGenerateJSON
Response = self.ChatAndStreamResponse(_Logger, _Messages, _Model, random.randint(0, 99999), _Format = "JSON")
File "/b/Dropbox/g/AIStoryWriter/Writer/Interface/Wrapper.py", line 336, in ChatAndStreamResponse
raise Exception(
Exception: Generation Failed, Max Retires Exceeded, Aborting
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: