Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix FIM pipeline with copilot #362

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Fix FIM pipeline with copilot #362

merged 2 commits into from
Dec 16, 2024

Conversation

jhrozek
Copy link
Contributor

@jhrozek jhrozek commented Dec 16, 2024

Piping FIM through the pipeline didn't work because the message format is slightly different.

Fixes: #351

@jhrozek jhrozek marked this pull request as ready for review December 16, 2024 10:47
@jhrozek jhrozek changed the title WIP: Fix FIM pipeline with copilot Fix FIM pipeline with copilot Dec 16, 2024
Comment on lines 578 to 584
# # this is a hotfix - we shortcut before selecting the output pipeline for FIM
# # because our FIM output pipeline is actually empty as of now. We should fix this
# # but don't have any immediate need.
# is_fim = self.proxy.context_tracking.metadata.get("is_fim", False)
# if is_fim:
# return
#
Copy link
Contributor

Choose a reason for hiding this comment

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

I think now is safe to remove this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops, yeah, for some reason I just commented out

@jhrozek jhrozek merged commit 69f0db0 into main Dec 16, 2024
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FIM secrets warning can be tabbed and made into actual code
2 participants