AOSSIE-Org / AOSSIE-Org/Perspective

[BUG]: Inconsistent model config, hardcoded API endpoints, and fragile logging/search handling

Aperta
#154 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
50
Fork
78
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Bug Description

There are multiple issues in the current pipeline:

-> Different modules use different LLM models, causing inconsistent results
-> Frontend API calls are hardcoded instead of using environment variables
-> Logging has encoding issues (especially on Windows)
-> Fact-check search does not properly handle invalid or empty Google API responses

This makes the system harder to maintain, debug, and deploy across environments.

### Steps to Reproduce

-> Run different analysis modules (bias, sentiment, fact-check, chat)
-> Notice inconsistent outputs due to different model usage
-> Run frontend without proper environment variables
-> Check logs on Windows system
-> Trigger a failed or empty Google search API response
-> Observe errors or crashes in fact-check flow

### Logs and Screenshots

_No response_

### Environment Details

_No response_

### Impact

High - Major feature is broken

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.