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
I can understand that max_retries and timeout might be better left as None so environment variables are always used, but I think organization was missed.
Expected behavior
For serialization and deser to return the component with the same settings.
To Reproduce
Initialize a OpenAIGenerator and run serder and see that the components are not equal.
The text was updated successfully, but these errors were encountered:
Describe the bug
I noticed that the to_dict method of
OpenAIGenerator
haystack/haystack/components/generators/openai.py
Lines 144 to 152 in 4c59000
looks to be missing
haystack/haystack/components/generators/openai.py
Line 61 in 4c59000
and
haystack/haystack/components/generators/openai.py
Lines 64 to 65 in 4c59000
from it's init method.
I can understand that max_retries and timeout might be better left as
None
so environment variables are always used, but I thinkorganization
was missed.Expected behavior
For serialization and deser to return the component with the same settings.
To Reproduce
Initialize a OpenAIGenerator and run serder and see that the components are not equal.
The text was updated successfully, but these errors were encountered: