Ideally when we set a field to be configurable, it should be updated accordingly when new configurable values are given by per_req_config_modifier.
However, it seems only model_kwargs('user': 'some_user') is being correctly passed, while the other configurable variables such as openai_api_base, default_headers, etc. are not correctly passed to the final client.
Ideally when we set a field to be configurable, it should be updated accordingly when new configurable values are given by per_req_config_modifier.
However, it seems only
model_kwargs
('user': 'some_user') is being correctly passed, while the other configurable variables such asopenai_api_base
,default_headers
, etc. are not correctly passed to the final client.Below is the example code:
Some of the related values from certain functions
Environment
Related issues:
377
314
652