Created
November 9, 2024 01:00
-
-
Save amosgyamfi/08f36a7bcea988e6429f20f68cee7c8a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from phi.agent import Agent | |
from phi.model.openai import OpenAIChat | |
task = "Create a SwiftUI view that allows users to switch between the tab bar and sidebar views using TabView and .tabView(.sidebarAdaptable) modifier. Put the content in TabSidebar.swift" | |
reasoning_agent = Agent( | |
model=OpenAIChat(id="gpt-4o-mini"), | |
reasoning=True, | |
markdown=True, | |
structured_outputs=True, | |
) | |
reasoning_agent.print_response(task, stream=True, show_full_reasoning=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment