v2.0.7

sinaptik-ai/pandas-aiv2.0.7Mar 9, 2024by gventuri

AI Summary

A bug fix release addressing issues with the Agent's last code execution attribute and preventing AttributeError when checking AST nodes.

Key Highlights

  • Fix Agent.last_code_executed attribute setting
  • Fix AttributeError: 'Call' object has no attribute 'id'
  • New contributor @goriri

New Features

  • Bug fixes for AST node handling
  • Agent state management fixes

Full Release Notes

## What's Changed
* fix: set Agent.last_code_executed correctly by @chengwaikoo in https://github.com/Sinaptik-AI/pandas-ai/pull/1015
* fix: add attribute check to avoid "AttributeError: 'Call' object has no attribute 'id' by @goriri in https://github.com/Sinaptik-AI/pandas-ai/pull/1013
* fix: access value.func.value.id after checking AST node by @chengwaikoo in https://github.com/Sinaptik-AI/pandas-ai/pull/1016

## New Contributors
* @goriri made their first contribution in https://github.com/Sinaptik-AI/pandas-ai/pull/1013

**Full Changelog**: https://github.com/Sinaptik-AI/pandas-ai/compare/v2.0.6...v2.0.7