Back in 2020, for the first deployment bill, CHP and IYI rejected voting for it, saying:
IYI:
"Was the Blue Homeland Agreement signed in return for sending troops to Libya? As IYI Party, we cannot be responsible for making our soldiers a clear target of an alliance from Russia to Egypt, and most importantly to General Haftar's forces supported by these countries, where our national security is not under threat."
"20 percent of brotherly Azerbaijan's lands are under occupation, come on, let's go and save there first. There are facts and there are interests. We supported Operation Peace Spring, what happened? You stopped the Turkish army marching like lions with a tweet. You say this is such an important bill, but there is not even a minister here(to defend the bill), it's a shame."
CHP:
"“It is a disaster call prepared to send our Armed Forces to war in the deserts of Libya,” the CHP said for the memorandum. Criticizing the use of the phrase "national interest" instead of "national security" in the memorandum, the CHP said, "Our Armed Forces are not anyone's private security forces, and the sons of the homeland cannot be irresponsibly sent to the deserts of Libya in this way. What will you do when news of martyrdom comes from Libya? Will you comfort your the families of their sons' deaths by saying 'destiny' as it was an ordinary accident?"
Kılıçdaroğlu: "Turkey should take the lead in ensuring stability in the region and put all its diplomatic efforts in this direction"
"The message of CHP Deputy Chairman Ünal Çeviköz was in this direction. Stating that the legitimacy of Turkey's intervention in Libya is controversial in terms of international law, and that there is no United Nations General Assembly resolution that approves this, Çeviköz said, "In order not to face an irreparable situation, contact should be made with both sides, such as Russia and Germany, and diplomatic channels should be kept open.
You will say, what is your suggestion? When we say diplomacy, we mean taking initiative. Since you see the GNA as the legitimate government recognized by the UN in Libya, then invite the UN to take action. As a UN member, Turkey has the right to invite the UN to establish such a UN peacekeeping force and to take a decision on this issue, and to take the lead. Call and say that we, as Turkey, are ready to contribute to such a peacekeeping force. Only then can you be considered a respected international actor. Do you not intend to do this? Then we make this call for you from this lectern."
For the extension of the deployment bill in 2022 CHP rejected it again while IYI supported it.
IYI:
Speaking on behalf of the IYI Party, Aydın deputy Adnan Gezgin justified their vote of "no" to the previous resolution by saying, "Yes, we were against sending Mehmetçik to a war environment". "However, since the end of 2020, due to the ceasefire, there has been no active fighting in Libya," he said, adding that they would "say yes" on the grounds that "our military [is] not in an active combatant position, and that it will "play a deterrent role in terms of conflicts between militias....
The international developments are so grave that the emergence of the impression that the government's space of action in Libya and the Eastern Mediterranean is blocked in this risky environment may lead to some question marks in the foreign world that are not for Turkey's benefit". He added, "We also care about maintaining the morale of our forces in Libya and the Mehmetçik who is on duty abroad [...] and we say "yes(to the bill)"".
CHP:
"We have always been against the second agreement, such as sending soldiers to Libya, which was brought before us as a precondition of the Naval Authorization Agreement(meaning EEZ deal between Libya and Turkey), and the resolution brought after it, and we continue to do so today," he said. "Because we are against the assignment of our Mehmetçik to protect the lands of other countries, except for humanitarian aid operations that have international legitimacy."
I added some parts in parentheses to make it legible in English with context. Sources as follows:
Türkiye'nin Libya'ya asker göndermesinin yolunu açan Cumhurbaşkanlığı tezkeresi "olağanüstü" toplanan TBMM Genel Kurulu'nda kabul edildi. Meclis tutanaklarına göre 332 milletvekili "kabul", 183 milletvekili ise "ret" oyu kullandı. Meclis'teki görüşmeleri izleyen Ankara'dan Ayşe Sayın'ın haberi.
www.bbc.com
Libya'ya asker gönderilmesi için verilen izin süresinin 18 ay daha uzatılmasına dair Cumhurbaşkanlığı tezkeresi TBMM Genel Kurulu'nda kabul edildi. AKP, MHP ve İYİ Parti "evet", HDP ve CHP ise "hayır" oyu verdi.
www.dw.com
Erdoğan'ın Libya'da asker bulundurma süresinin uzatılması için TBMM'ye sunduğu tezkereye İYİ Parti, çelişik gerekçelerle "evet" dedi. Grup adına konuşan Gezgin "Daha önce savaş var diye 'hayır' demiştik" derken, Ağıralioğlu "önceki kararda "haksız çıktıklarını" ima etti.
m.bianet.org
As per Libya Turkey EEZ deal, both IYI and CHP supported it. As for how CHP views it, this communique directly from their website penned by KK's FoPo advisor Çeviköz sums it up nicely:
chp.org.tr
Some parts are not agreeable, but the last paragraph(about needing to normalize with and get support of Egypt, Israel and Syria) is pretty on point and is what's AKP is trying to do for the past year.