netbox_react_agent
netbox_react_agent copied to clipboard
Netbox API calls fail
Every netbox API call fails using ChatGPT because %22%0A/ is appended to every URL
netbox_react_agent | Action: get_netbox_data_tool netbox_react_agent | Action Input: "/api/dcim/sites/" netbox_react_agent | {'error': 'Failed to fetch data from NetBox: 404 Client Error: Not Found for url: https://netbox/api/dcim/sites/%22%0A/'}It seems there is a consistent issue with the URL used to fetch data from NetBox. The error message indicates a "404 Client Error," which means the requested resource could not be found at the specified URL. This is likely due to incorrect URL formatting, possibly caused by extraneous characters or encoding issues.
I see this occassionally too usually the tools just keep iterating until it gets the right url; you could try to adjust the prompts to say "please never add %22%0A to the URL" or something? weird behaviour thats not hardcoded anywhere but I get the same issue
Yeah, sometimes it would land on the right URL but more often than not it would hit a timeout or I'd get rate limited by GPT. I haven't tried the ollama version yet.