feat: update app.db and BACKLOG.md with new decisions and adjustments
All checks were successful
Deploy / deploy (push) Successful in 7m45s
All checks were successful
Deploy / deploy (push) Successful in 7m45s
- Updated the app.db file to reflect recent changes in the application state. - Modified BACKLOG.md to include new entries regarding the removal of certain wizard steps, adjustments to priority chips, and the introduction of special quota conditions for candidates. - Added details on the decision to link priority chips to data sources and clarified the implications for user experience and data handling.
This commit is contained in:
@@ -142,10 +142,11 @@ export async function POST(request: NextRequest) {
|
||||
// Paketsiz kullanıcının prompt'una yalnızca açık satırlar girer — aksi
|
||||
// halde danışman kilitli listeyi sözle sızdırabilir.
|
||||
const kilitli = !kullanici?.hasPaket;
|
||||
const raporSonuc = rapor.result as RaporSonuc;
|
||||
const tamOzet = listeOzetiCikar(
|
||||
rapor.result as RaporSonuc,
|
||||
raporSonuc,
|
||||
(rapor.params as RaporParams).sira,
|
||||
{ kimlik: true },
|
||||
{ kimlik: true, gerekce: true },
|
||||
);
|
||||
const listeOzeti = sohbetListeOzeti(tamOzet, kilitli);
|
||||
|
||||
@@ -156,14 +157,23 @@ export async function POST(request: NextRequest) {
|
||||
kilitli,
|
||||
profil,
|
||||
barajlar: barajTablosu(),
|
||||
rapor: {
|
||||
genelDegerlendirme: raporSonuc.genelDegerlendirme,
|
||||
uyarilar: raporSonuc.uyarilar,
|
||||
kapsam: raporSonuc.kapsam ? { toplam: raporSonuc.kapsam.toplam, uyarlandi: raporSonuc.kapsam.uyarlandi } : undefined,
|
||||
},
|
||||
});
|
||||
// Araçların bağlamı: aday sırası/puan türü (arama süzgeci) ve profil
|
||||
// (profil_guncelle yazınca aynı tur içinde tazelenir).
|
||||
// Araçların bağlamı: aday sırası/puan türü (arama süzgeci), profil
|
||||
// (profil_guncelle yazınca aynı tur içinde tazelenir) ve sihirbaz seçimleri
|
||||
// (uyum puanı "öne çıkan" cümleleri ve özel kontenjan eşlemesi için).
|
||||
const aracBaglami: AracBaglami = {
|
||||
userId: session.user.id,
|
||||
sira: raporParams.sira,
|
||||
tur: raporParams.tur,
|
||||
profil,
|
||||
oncelikler: raporParams.oncelikler ?? [],
|
||||
ozelDurum: raporParams.ozelDurum ?? [],
|
||||
sihirbazIlVar: (raporParams.iller?.length ?? 0) > 0 || Boolean(raporParams.il),
|
||||
};
|
||||
|
||||
// Dev'de API key yoksa danışman mock cevap stream'ler (prod'da asla)
|
||||
|
||||
Reference in New Issue
Block a user