Skip to content

Commit 41a305c

Browse files
Adding chat template api
1 parent 3cc7e8a commit 41a305c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ads/aqua/common/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ def get_artifact_path(custom_metadata_list: List) -> str:
228228
return UNKNOWN
229229

230230

231-
def read_file(file_path: str, **kwargs) -> Union[str, dict]:
231+
def read_file(file_path: str, **kwargs) -> str:
232232
try:
233233
with fsspec.open(file_path, "r", **kwargs.get("auth", {})) as f:
234234
return f.read()

0 commit comments

Comments
 (0)