New RunLLM response generated: >>>*# Question* He...
# runllm-flyte-trial
j
New RunLLM response generated: >>>*# Question* Hello, we would like for reference tasks to grab the latest version. The version parameter in the reference_task decorator is required, for our CICD we do not want to manually set this and our workflows and tasks are preregistered. I am able to grab the latest task version using FlyteRemote. # Answer To have reference tasks automatically use the latest version without specifying it manually, you can use the
FlyteRemote
API to fetch the latest version of a task or workflow. The
fetch_task
method in
FlyteRemote
can be used to retrieve the latest version by omitting the
version
parameter. This approach simplifies the process, especially in CICD environments where tasks and workflows are preregistered. Would you like more detail on how to implement this using
FlyteRemote
? Sources: - https://github.com/flyteorg/flyte/issues/5661 - https://github.com/flyteorg/flyte/issues/4707 Slack Link https://.slack.com/archives/CP2HDHKE1/p1729010126.132969 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.