Skip to content

Conversation

@abubakarsohail
Copy link
Contributor

Enhance the PromptLayer API integration by adding a base URL parameter, allowing for more flexible API endpoint configurations. Update related functions and tests to accommodate this new parameter.

@abubakarsohail abubakarsohail force-pushed the abubakar/lac-647-python-sdk branch 2 times, most recently from 9f04c29 to 0ed5fbb Compare October 22, 2025 17:34
Copy link
Contributor

@sacha-promptlayer sacha-promptlayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The one thing I don't understand is that we no longer patching the base_url but now loading it from env in the tests? Wouldn't we want a consistent base_url to test with? or it actually hitting the endpoint?

@abubakarsohail
Copy link
Contributor Author

abubakarsohail commented Oct 23, 2025

Good catch. For tests, we do not to read from environment. The endpoints hit a hard coded localhost url. I'll update the test.

@abubakarsohail abubakarsohail force-pushed the abubakar/lac-647-python-sdk branch 9 times, most recently from 5112ba4 to 440514f Compare October 23, 2025 11:17
@abubakarsohail abubakarsohail force-pushed the abubakar/lac-647-python-sdk branch from 440514f to e846ace Compare October 23, 2025 11:18
@abubakarsohail abubakarsohail merged commit c6d439b into master Oct 23, 2025
5 checks passed
@abubakarsohail abubakarsohail deleted the abubakar/lac-647-python-sdk branch October 23, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants