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

Proxy Error #341

Closed
csbobby opened this issue Mar 20, 2024 · 3 comments
Closed

Proxy Error #341

csbobby opened this issue Mar 20, 2024 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@csbobby
Copy link

csbobby commented Mar 20, 2024

Version Information

  • Package Version: 2.2.0
  • Operating System: Linux

What is the expected behavior?

Run a program to call APIs under the global http proxy setting

What is the actual behavior?

image
@Tomas2D
Copy link
Member

Tomas2D commented Mar 21, 2024

The default SDK's endpoint is https://bam-api.res.ibm.com, which does not require any special network configuration.

@Tomas2D Tomas2D added the question Further information is requested label Mar 21, 2024
@Tomas2D Tomas2D self-assigned this Mar 21, 2024
@csbobby
Copy link
Author

csbobby commented Mar 22, 2024

Thank you for the response.
Our cluster supports the SDK endpoint, but cluster nodes need to use a proxy, this works for most of pkgs. And this pkg doesn't seem to provide a method for us to do so.
@Tomas2D

@Tomas2D
Copy link
Member

Tomas2D commented May 27, 2024

You can do it by setting GENAI_API variable or by passing the value to the Client class directly.

@Tomas2D Tomas2D closed this as completed May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants