The-Swarm-Corporation / TickrAgent

tickr-agent is an enterprise-ready, scalable Python library for building swarms of financial agents that conduct comprehensive stock analysis and produce insights.
https://discord.com/servers/agora-999382051935506503
MIT License
26 stars 0 forks source link

[BUG] CPU cores error preventing execution #12

Open courtlin-holt-nguyen opened 1 week ago

courtlin-holt-nguyen commented 1 week ago

Running example.py throws this error about CPU cores.

2024-11-10T02:45:50.034333-1000 Available CPUs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] 2024-11-10T02:45:50.034333-1000 Error executing with 20 CPU cores: Invalid core count: 20. Available CPUs are [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]. 2024-11-10T02:45:50.035343-1000 An error occurred during execution: RetryError[<Future at 0x29934732ed0 state=finished raised ValueError>] 2024-11-10T02:45:50.035343-1000 Error running financial analysis: RetryError[<Future at 0x29934732ed0 state=finished raised ValueError>] 2024-11-10T02:45:50.036345-1000 Error running financial analysis for stock NVDA: RetryError[<Future at 0x29934732ed0 state=finished raised ValueError>]

2024-11-10T02:45:48.021312-1000 Initializing financial analysis agent. 2024-11-10T02:45:48.027187-1000 Financial analysis agent initialized successfully. 2024-11-10T02:45:48.028739-1000 Running Financial-Analysis-Agent on NVDA data 2024-11-10T02:45:48.028739-1000 Attempting to run on device: cpu 2024-11-10T02:45:48.029806-1000 Device set to CPU 2024-11-10T02:45:48.029806-1000 Using all available CPU cores: 20 2024-11-10T02:45:48.029806-1000 Available CPUs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] 2024-11-10T02:45:48.030794-1000 Error executing with 20 CPU cores: Invalid core count: 20. Available CPUs are [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]. 2024-11-10T02:45:49.031723-1000 Available CPUs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] 2024-11-10T02:45:49.032730-1000 Error executing with 20 CPU cores: Invalid core count: 20. Available CPUs are [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]. 2024-11-10T02:45:50.034333-1000 Available CPUs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13] 2024-11-10T02:45:50.034333-1000 Error executing with 20 CPU cores: Invalid core count: 20. Available CPUs are [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]. 2024-11-10T02:45:50.035343-1000 An error occurred during execution: RetryError[<Future at 0x29934732ed0 state=finished raised ValueError>] 2024-11-10T02:45:50.035343-1000 Error running financial analysis: RetryError[<Future at 0x29934732ed0 state=finished raised ValueError>] 2024-11-10T02:45:50.036345-1000 Error running financial analysis for stock NVDA: RetryError[<Future at 0x29934732ed0 state=finished raised ValueError>] Traceback (most recent call last): File "c:\swarm-tickragent\TickrAgent\TEST.py", line 18, in result = agent.run("Conduct an analysis on this stock and show me if it's a buy or not and why") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\swarm-tickragent\TickrAgent\tickr_agent\main.py", line 436, in run
return str(self.mult_stock_log.logs[0].summary)


IndexError: list index out of range
github-actions[bot] commented 1 week ago

Hello there, thank you for opening an Issue ! 🙏🏻 The team was notified and they will get back to you asap.