Skip to content

feat: implement pipeline steering logic#5

Merged
nirga merged 1 commit intomainfrom
steer
Nov 12, 2024
Merged

feat: implement pipeline steering logic#5
nirga merged 1 commit intomainfrom
steer

Conversation

@nirga
Copy link
Member

@nirga nirga commented Nov 12, 2024

No description provided.


// Sort pipelines to ensure default is first
let mut sorted_pipelines: Vec<_> = state.config.pipelines.clone();
sorted_pipelines.sort_by_key(|p| p.name != "default"); // "default" will come first since false < true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smelly

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@galkleinman have a better idea?

@nirga nirga merged commit 2d69d31 into main Nov 12, 2024
@nirga nirga deleted the steer branch November 12, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants