mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
5ba5e8356c
* feat: init pydantic ai agent & context 7 mcp * feat: integrate MCP documentation search into data science pipeline evaluation * fix: disable MCP documentation search and update related docstrings and defaults * lint * fix: correct prompt formatting and conditional blocks in pipeline_eval section * lint * feat: add query method to PAIAgent for synchronous agent execution * fix: apply nest_asyncio for agent and update context7 query method * lint * lint * lint * lint * docs: update MCP folder docstring and rename test class in test_pydantic.py * refactor: centralize completion kwargs logic and update pydantic_ai integration * fixbug * typo * fix: bug triggered by padantic-ai version backtracking. --------- Co-authored-by: Linlang <Lv.Linlang@hotmail.com>
16 lines
300 B
Python
16 lines
300 B
Python
import unittest
|
|
|
|
from rdagent.components.agent.context7 import Agent
|
|
|
|
|
|
class PydanticTest(unittest.TestCase):
|
|
|
|
def test_context7(self):
|
|
context7a = Agent()
|
|
res = context7a.query("pandas read_csv encoding error")
|
|
print(res)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
unittest.main()
|