@@ -62,7 +62,7 @@ def _get_file_content_impl(self, path: str, file_type: FileType) -> str:
6262
6363 Args:
6464 path: The normalized path to the file (without extension)
65- file_type: The type of file (prompt or agent )
65+ file_type: The type of file (Prompt or Agent )
6666
6767 Returns:
6868 The file content
@@ -95,7 +95,7 @@ def get_file_content(self, path: str, file_type: FileType) -> str:
9595
9696 Args:
9797 path: The normalized path to the file (without extension)
98- file_type: The type of file (prompt or agent )
98+ file_type: The type of file (Prompt or Agent )
9999
100100 Returns:
101101 The file content
@@ -154,8 +154,8 @@ def _save_serialized_file(self, serialized_content: str, file_path: str, file_ty
154154
155155 Args:
156156 serialized_content: The content to save
157- file_path: The path where to save the file
158- file_type: The type of file (prompt or agent )
157+ file_path: The path to save the file to
158+ file_type: The type of file (Prompt or Agent )
159159
160160 Raises:
161161 Exception: If there is an error saving the file
@@ -207,7 +207,7 @@ def _pull_directory(self,
207207 directory : str | None = None ,
208208 environment : str | None = None ,
209209 ) -> List [str ]:
210- """Sync prompt and agent files from Humanloop to local filesystem.
210+ """Sync Prompt and Agent files from Humanloop to local filesystem.
211211
212212 If `path` is provided, only the files under that path will be pulled.
213213 If `environment` is provided, the files will be pulled from that environment.
@@ -241,7 +241,7 @@ def _pull_directory(self,
241241
242242 # Process each file
243243 for file in response .records :
244- # Skip if not a prompt or agent
244+ # Skip if not a Prompt or Agent
245245 if file .type not in ["prompt" , "agent" ]:
246246 logger .warning (f"Skipping unsupported file type: { file .type } " )
247247 continue
0 commit comments