We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 629f41d commit 23a7d7fCopy full SHA for 23a7d7f
src/shelloracle/providers/openai.py
@@ -32,7 +32,7 @@ async def generate(self, prompt: str) -> AsyncIterator[str]:
32
if chunk.choices[0].delta.content is not None:
33
yield chunk.choices[0].delta.content
34
except:
35
- ...
+ logging.getLogger(__name__).exception("no choices")
36
except APIError as e:
37
msg = f"Something went wrong while querying OpenAI: {e}"
38
raise ProviderError(msg) from e
0 commit comments