You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 9, 2025. It is now read-only.
"""Always use this tool to structure your response to the user."""
thinking: str = Field(description="Plan step by step in detail to answer the user's question")
answer: str = Field(description="Answer by only giving the code and nothing else")
Depenecies: str = Field(description="Give all the reuired packages to run this code, only give commands (ex- pip install numpy) and nothing else, make this comma seprated")
# proves that the agent remembers all prev answer in one structure
# class ResponseFormatter(BaseModel):
# """Always use this tool to structure your response to the user."""
# answer: str = Field(description="say 4")
# SameAnswer: str = Field(description="say the same number + 1")
model = ChatOpenAI(model="gpt-4o", temperature=0)
# Bind responseformatter schema as a tool to the model