24 Commits

Author SHA1 Message Date
Nunzi99
6d0b816033 LLM Providers (#52)
* Refactor configs dei modelli
* Aggiunti Providers
* Update .env.example
* Xai Aggiunto ma commentato (problemi di dependency)
2025-10-27 21:07:30 +01:00
Giacomo Bertolazzi
830d1933b1 Revert "Aggiungere LLM Providers (#48)" (#51)
This reverts commit 6ff2fcc2a7.
2025-10-26 16:56:21 +01:00
Nunzi99
6ff2fcc2a7 Aggiungere LLM Providers (#48)
* Refactor configs dei modelli
* Aggiunti Providers
2025-10-26 14:07:44 +01:00
Giacomo Bertolazzi
2e092d3f25 Lista di cryptovalute (#36)
* CryptoSymbolsTool per recuperare TUTTI i simboli delle criptovalute da Yahoo Finance
* CryptoSymbolsTools integrazione nel sistema di strumenti.
* Removed currency from config
* fix format symbol in all markets
2025-10-21 15:58:42 +02:00
Giacomo Bertolazzi
c96617a039 Telegram bot support (#23)
* Aggiungi supporto per il bot Telegram: aggiorna .env.example, pyproject.toml e uv.lock

* demo per bot Telegram con gestione comandi e inline keyboard

* Implementazione del bot Telegram con gestione dei comandi e stati di conversazione iniziali

* Aggiorna la gestione delle configurazioni nel bot Telegram: modifica gli stati della conversazione e aggiungi il supporto per la gestione dei messaggi.

* fix static models & readme

* aggiunto il supporto per la query dell'utente e modificata la visualizzazione dei messaggi di stato.

* Aggiunto il supporto per la gestione del bot Telegram e aggiornata la configurazione del pipeline

* Aggiornato .gitignore per includere la cartella .gradio e rimosso chroma_db. Aggiunto il supporto per la generazione di report in PDF utilizzando markdown-pdf nel bot Telegram.

* Refactor pipeline and chat manager for improved structure and functionality

* Better logging

* Aggiornato il comportamento del logging per i logger di agno. Aggiunto il supporto per l'opzione check_for_async nella configurazione di RedditWrapper.

* Rimosso codice commentato e import non utilizzati nella classe Pipeline per semplificare la struttura

* Aggiornata la sezione "Applicazione" nel README & fix main

* Telegram instance instead of static

* Fix logging to use labels for team model, leader model, and strategy

* Rinomina il lock da _lock a __lock per garantire l'incapsulamento nella classe AppConfig

* Rinomina i logger per una migliore identificazione e gestisce le eccezioni nel bot di Telegram

* Aggiorna i messaggi di errore nel gestore Telegram per una migliore chiarezza e modifica il commento nel file di configurazione per riflettere lo stato del modello.

* Aggiungi un messaggio di attesa durante la generazione del report nel bot di Telegram
2025-10-13 10:49:46 +02:00
Giacomo Bertolazzi
862525cc62 Configurazioni dell'app (#27)
* Prompt messi in una cartella apposta
* Aggiorna importazioni demo per riflettere la nuova struttura delle cartelle API
* Aggiunto configurazione dell'applicazione
* Spostato ChatManager in app.interface
* Update README.md
* Aggiornato config per app & api
* Rinominato il modulo NewsAPI
* fix main infinite loop
* API base --> core
* pattern singleton per AppConfig.
* Estratto i tools nella loro cartella --> api/tools
* fix main KeyboardInterrupt
* update tests
* Docker & libs
* fix copilot suggestions
2025-10-12 18:05:43 +02:00
Giacomo Bertolazzi
d2fbc0ceea 12 fix docs (#13)
* fix dependencies uv.lock

* refactor test markers for clarity

* refactor: clean up imports and remove unused files

* refactor: remove unused agent files and clean up market API instructions

* refactor: enhance wrapper initialization with keyword arguments and clean up tests

* refactor: remove PublicBinanceAgent

* refactor: aggregator
- simplified MarketDataAggregator and related models to functions

* refactor: update README and .env.example to reflect the latest changes to the project

* refactor: simplify product info and price creation in YFinanceWrapper

* refactor: remove get_all_products method from market API wrappers and update documentation

* fix: environment variable assertions

* refactor: remove status attribute from ProductInfo and update related methods to use timestamp_ms

* feat: implement aggregate_history_prices function to calculate hourly price averages

* refactor: update docker-compose and app.py for improved environment variable handling and compatibility

* feat: add detailed market instructions and improve error handling in price aggregation methods

* feat: add aggregated news retrieval methods for top headlines and latest news

* refactor: improve error messages in WrapperHandler for better clarity

* fix: correct quote currency extraction in create_product_info and remove debug prints from tests
2025-10-02 01:40:59 +02:00
Simone Garau
42690acfbb feat(markets): add yfinance integration for stock and crypto data
- Add yfinance wrapper with support for stocks and cryptocurrencies
- Update aggregated models to recognize yfinance products
- Include yfinance in market APIs tool and demo script
- Add comprehensive tests for yfinance functionality
- Update dependencies to include yfinance and required packages
2025-10-01 15:46:46 +02:00
Simone Garau
31057007fb Finito ISSUE 3 2025-10-01 13:01:51 +02:00
43b2bddba5 Add Reddit API wrapper and related tests; update environment configuration 2025-09-30 15:36:37 +02:00
dfe3b4ad90 Add DuckDuckGo and Google News wrappers; refactor CryptoPanic and NewsAPI
- Implemented DuckDuckGoWrapper for news retrieval using DuckDuckGo tools.
- Added GoogleNewsWrapper for accessing Google News RSS feed.
- Refactored CryptoPanicWrapper to unify get_top_headlines and get_latest_news methods.
- Updated NewsApiWrapper to simplify top headlines retrieval.
- Added tests for DuckDuckGo and Google News wrappers.
- Enhanced documentation for CryptoPanicWrapper and NewsApiWrapper.
- Created base module for social media integrations.
2025-09-30 12:24:43 +02:00
c17a948ae0 Refactor news API integration to use NewsApiWrapper and GnewsWrapper; add tests for Gnews API functionality 2025-09-30 00:34:07 +02:00
badd3e2a6c Add news API integration and related configurations
- Update .env.example to include NEWS_API_KEY configuration
- Add newsapi-python dependency in pyproject.toml
- Implement NewsAPI class for fetching news articles
- Create Article model for structured news data
- Add tests for NewsAPI functionality in test_news_api.py
- Update pytest configuration to include news marker
2025-09-29 15:15:18 +02:00
2be9e0f319 Update pytest configuration and dependencies in pyproject.toml 2025-09-29 14:39:31 +02:00
148bff7cfd Refactor Predictor and market data handling
- Added Predictor class with input preparation and instructions for financial strategy generation.
- Removed PredictorAgent class and integrated its functionality into the new Predictor module.
- Created a base market API wrapper and specific implementations for Coinbase and CryptoCompare.
- Introduced PublicBinanceAgent for fetching public prices from Binance.
- Refactored ToolAgent to utilize the new Predictor and market API wrappers for improved data handling and predictions.
- Updated models to streamline the selection of available LLM providers.
- Removed deprecated signer classes for Coinbase and CryptoCompare.
2025-09-26 03:43:31 +02:00
Simone Garau
5dbdb050ca pulizia veloce 2025-09-25 18:24:39 +02:00
Simone Garau
995048831c Integrato 3 fonti ma da finire binance. Fatto una struttura con i signers per i servizi. 2025-09-23 18:04:52 +02:00
trojanhorse47
af9e022f17 * Correzione minore di pyproject.toml 2025-09-19 13:06:30 +02:00
trojanhorse47
6b79cc3b80 Merge remote-tracking branch 'origin/ollama' into predictor
# Conflicts:
#	.env.example
#	pyproject.toml
#	src/app.py
#	src/example.py
#	uv.lock
2025-09-19 12:59:35 +02:00
trojanhorse47
45014fa94b + Creato scheletro dell'app con agenti mock per test.
* Modificato pyproject.toml con versioni aggiornate di agno (aggiunto file requirements.txt per compatibilità eventuale con hugging face).

# Consiglio di spostare il contenuto di src direttamente nella directory base per tenere compatibilità con hugging face in caso si voglia sfruttare in futuro.
2025-09-19 11:08:17 +02:00
fc725e48e2 Refactor model handling and agent construction; remove deprecated example script 2025-09-16 17:42:22 +02:00
Simone Garau
0f6a7dabb6 Ho fatto funzionare ollama sia con docer che con uv. Aggiornato il readme 2025-09-16 14:46:15 +02:00
57aa39cd71 Added examples of agno usage and .env for keys; removed unused/redundant dependencies 2025-09-04 21:55:18 +02:00
a62e9344f6 migrate from pip to uv for dependency management
- Add pyproject.toml and uv.lock for modern Python packaging
- Update README and Dockerfile to use uv instead of pip
2025-09-04 16:50:04 +02:00