Commit Graph

48 Commits

Author SHA1 Message Date
trojanhorse47
cce09b493e Merge remote-tracking branch 'origin/3-market-api' into tool
# Conflicts:
#	src/app.py
#	src/app/agents/market_agent.py
#	src/app/markets/__init__.py
#	src/app/markets/coinbase.py
#	src/app/markets/cryptocompare.py
#	src/app/pipeline.py
#	tests/agents/test_market.py
#	tests/agents/test_predictor.py
2025-09-30 12:37:46 +02:00
trojanhorse47
fcbb312d08 - Refactor struttura progetto: divisione tra agent e toolkit 2025-09-30 12:28:44 +02:00
Simone Garau
fb38aef790 pre merge con phil 2025-09-30 12:11:10 +02:00
Simone Garau
dfca44c9d5 ToDo:
1. Aggiungere un aggregator per i dati recuperati dai provider.
2. Lavorare effettivamente all'issue

Done:
1. creati test per i provider
2. creato market_providers_api_demo.py per mostrare i dati recuperati dalle api dei providers
3. aggiornato i provider
4. creato il provider binance sia pubblico che con chiave
5. creato error_handler.py per gestire decoratori e utilità: retry automatico, gestione timeout...
2025-09-29 21:28:41 +02:00
trojanhorse47
c82f10b32c Creazione branch tool, refactor degli import e soppressione dei warning 2025-09-29 12:22:02 +02:00
4615ebe63e Pydantic
- use Pydantic for input & output for models
- update ToolAgent to utilize new model definitions
- improve test cases for consistency
2025-09-27 18:51:20 +02:00
03d8523a5a Refactor market system and improve app configuration
- Refactor market system from singleton function to class-based architecture with MarketAPIs
- Add automatic API key detection for Coinbase and CryptoCompare wrappers
- Improve error handling and logging with agno.utils.log throughout the application
- Split Models class into separate methods for online and local model availability
- Add proper JSON response extraction with thinking pattern support
- Enhance ToolAgent with better state management for provider and style selection
- Update Gradio app with proper server configuration and logging
2025-09-27 17:49:32 +02:00
a51ec67ac1 Add TODO comments for request analysis and sentiment handling in ToolAgent 2025-09-26 16:17:30 +02:00
eaa2e9e12a Merge branch 'market-agent' 2025-09-26 13:38:32 +02:00
c826a8e093 Refactor
- ToolAgent initialization
- market API handling list
2025-09-26 13:38:14 +02:00
Giacomo Bertolazzi
058ecb9d9d Update README.md
- fixed todo list
2025-09-26 13:22:10 +02:00
a3824489ed Refactor pytest configuration:
- streamline marker addition
- remove unused OLLAMA_MODELS_PATH (OLLAMA_HOST should be enough even for Docker)
2025-09-26 13:15:50 +02:00
3e746cdd45 Fixed Docker
- Update Dockerfile, docker-compose
- fixed app instructions not working
- fixed json ouput sanification
- added tests for predictor
2025-09-26 12:45:05 +02:00
d8ed299724 Remove pytest configuration file and clean up test suite by optimizing imports and simplifying test methods 2025-09-26 05:03:18 +02:00
89c8faf1be Update README and tests: improve test instructions and add new test suite for market system 2025-09-26 04:52:49 +02:00
576d69921b Enhance documentation 2025-09-26 04:11:04 +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
48502fc6c7 !! Broken for now !!
Refactor environment variables and remove unused API key checks; introduce Models enum for supported models.
2025-09-25 22:24:24 +02:00
48f1efd2b2 REMOVED VSCODE FOLDER 2025-09-25 21:21:01 +02:00
c861234c17 REMOVED IDEA FOLDER 2025-09-25 21:19:30 +02:00
60c555fd8c Refactoring main
Aggiornato il file .env.example.
Aggiunta la funzione available_keys() in app.py per controllare le chiavi API disponibili.
Spostato example.py nelle demo.
Rimosso requirements.txt.
2025-09-25 21:03:11 +02:00
023cf575cf Aggiornato il README.md per riflettere il nuovo obiettivo del progetto e migliorata la sezione di installazione. Spostata la demo di Ollama per mostrare funzionalità chiave. 2025-09-25 20:36:57 +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
Simone Garau
bc6548c6fb Aggiornamento documentazione 2025-09-19 14:10:37 +02:00
trojanhorse47
af9e022f17 * Correzione minore di pyproject.toml 2025-09-19 13:06:30 +02:00
trojanhorse47
c343fea48e * Modificati uv.lock e requirements.txt con aggiunta di ollama (da branch ollama) 2025-09-19 13:05:27 +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
Simone Garau
2a5a44913f pre merge 2025-09-19 12:49:01 +02:00
Simone Garau
25b93985e5 Inserito ollama fra le possibilità usando il modello gpt-oss:latest. La risposta di ollama è parsificata male, vede anche il thinking del modello 2025-09-19 11:55:14 +02:00
trojanhorse47
6729a66d50 * Modificati caricamento e chiamata di openai (aggiornati al nuovo SDK) 2025-09-19 11:46:54 +02:00
trojanhorse47
95559551a3 * Modificati caricamenti dei provider google e anthropic.
* Modificata _predict_google: ora è funzionante.
+ Aggiunto debug per provider attivi trovati.

# NB: Sia le chiamate che le chiamate agli modelli potrebbero non essere aggiornati (non ho ancora letto la documentazione recente e potrebbero essere da modificare).
2025-09-19 11:39:11 +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
96ef5ae745 Update README and docker-compose for API key configuration and environment setup 2025-09-04 22:18:44 +02:00
57aa39cd71 Added examples of agno usage and .env for keys; removed unused/redundant dependencies 2025-09-04 21:55:18 +02:00
dd75530300 Merge branch 'main' of github.com:Berack96/upo-appAI 2025-09-04 19:06:42 +02:00
2cbdc8e758 Add project documentation for intelligent agents; include guides for implementing the crypto analysis 2025-09-04 19:06:34 +02:00
Giacomo Bertolazzi
749e0e6370 Change LICENSE file
Better licence for distribution
2025-09-04 18:03:15 +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
bff0f377a1 Update README and app.py for the project; enhance installation instructions and add necessary imports for testing 2025-09-04 15:46:27 +02:00
35b4067ecd Add project proposals for intelligent course planning, crypto analysis, and travel planning agents; update requirements with new libraries and recommendations 2025-09-04 12:01:35 +02:00
a88b2bdd60 Remove obsolete Docker configuration and documentation; add new Dockerfile, docker-compose, and update README for project setup 2025-09-03 16:36:19 +02:00
Giacomo Bertolazzi
d743a891ff Update README with exam information
Added details about the exam structure and grading.
2025-09-02 17:02:32 +02:00
Simo
30b8d3e02b Idee
Ho chiesto a Gemini di darmi dei suggerimenti per fare questo progetto. Ho lasciato il file in formato markdown per editarlo facilmente anche da web qui su github
2025-05-21 16:18:45 +02:00
Simone
5f228e4b1d Miniguida per creare l'immagine Docker tramite Dockerfile configurata con Pytorch, CUDA ed eventuali librerie necessarie al progetto (file requirements). 2025-03-12 22:54:52 +01:00
Giacomo Bertolazzi
21a3379634 Initial commit 2025-03-12 16:18:32 +01:00