p_sync Milestone 1 (Pull operation + CLI + call and load overloads)#61
Closed
AlePouroullis wants to merge 45 commits intop_sync/basefrom
Closed
p_sync Milestone 1 (Pull operation + CLI + call and load overloads)#61AlePouroullis wants to merge 45 commits intop_sync/basefrom
AlePouroullis wants to merge 45 commits intop_sync/basefrom
Conversation
…path for agents and prompts
… serialized content
…U cache for reading local files
- Make local file access more explicit by throwing errors instead of silent fallbacks - Add proper error handling for file not found and IO errors - Improve version/environment handling with clear warnings - Update docstrings to better document behavior This change makes the behavior more predictable when use_local_files=True: - Throws FileNotFoundError/IOError if local file can't be accessed - Warns and uses remote when version_id/environment is specified - No more silent fallbacks to remote API
Contributor
|
think this needs a merge with master -- agents has gone in |
pyproject.toml
Outdated
| name = "humanloop" | ||
| description = "The Humanloop Python Library" | ||
| authors = [] | ||
| keywords = ["ai", "machine-learning", "llm", "sdk", "humanloop"] |
Contributor
There was a problem hiding this comment.
don't think machine-learning is appropriate. where is this shown?
Contributor
Author
There was a problem hiding this comment.
These keywords aren't shown, only used for indexing and increasing discoverability.
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#keywords
But perhaps machine learning would not be a good idea. Can just remove this altogether. The main thing was adding the description so it doesn't just say None below the package name

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pull+history(shows last <=5 sync operations with some metadata) commands. Uses the click library.call()and.log()functions to use serialized contents of.prompt/.agentlocal files whenuse_local_filesis set totruewhen initializing the humanloop client.