Skip to content

Commit 010f438

Browse files
committed
fix: ensure KFP token is returned as a string in RagasEvaluatorRemote
1 parent 3a3a0c4 commit 010f438

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/llama_stack_provider_ragas/remote/ragas_remote_eval.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ def kfp_client(self):
111111
def _get_kfp_token(self) -> str:
112112
if self.config.kubeflow_config.pipelines_api_token:
113113
logger.info("Using KUBEFLOW_PIPELINES_TOKEN from config")
114-
return self.config.kubeflow_config.pipelines_api_token.get_secret_value()
114+
return str(
115+
self.config.kubeflow_config.pipelines_api_token.get_secret_value()
116+
)
115117

116118
try:
117119
from .kubeflow.utils import _load_kube_config

0 commit comments

Comments
 (0)