Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add ability to configure OpenAI base URL in ChatGPTAgentConfig #577

Merged
merged 8 commits into from
Jul 3, 2024

Commits on Jun 22, 2024

  1. feat: Add ability to configure OpenAI base URL in ChatGPTAgentConfig

    - Added `base_url` parameter to `ChatGPTAgentConfig` to allow customization of the OpenAI API base URL.
    - Updated `instantiate_openai_client` function to use the `base_url` parameter from the configuration.
    - Modified `ChatGPTAgent` to utilize the updated `instantiate_openai_client` function.
    - Added tests to verify the new `base_url` functionality in `tests/streaming/agent/test_base_agent.py`.
    
    This enhancement allows users to specify a custom OpenAI API base URL, providing greater flexibility in agent configuration.
    celmore25 committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    eb5c714 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9484c0d View commit details
    Browse the repository at this point in the history
  3. lint fix

    celmore25 committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    5419c1d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    7d934c6 View commit details
    Browse the repository at this point in the history
  2. missed logging update

    celmore25 committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    fc53112 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    fa1e455 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d34c3c View commit details
    Browse the repository at this point in the history
  3. fix test

    ajar98 committed Jul 3, 2024
    Configuration menu
    Copy the full SHA
    9dce21b View commit details
    Browse the repository at this point in the history