Added new demo
This commit is contained in:
parent
30582309c2
commit
055e09b48e
2 changed files with 12 additions and 0 deletions
Binary file not shown.
|
|
@ -0,0 +1,12 @@
|
|||
from phi.agent import Agent
|
||||
from phi.model.ollama import Ollama
|
||||
from phi.playground import Playground, serve_playground_app
|
||||
|
||||
reasoning_agent = Agent(name="Reasoning Agent", model=Ollama(id="qwq:32b"), markdown=True)
|
||||
|
||||
# UI for Reasoning agent
|
||||
app = Playground(agents=[reasoning_agent]).get_app()
|
||||
|
||||
# Run the Playground app
|
||||
if __name__ == "__main__":
|
||||
serve_playground_app("local_ai_reasoning_agent:app", reload=True)
|
||||
Loading…
Reference in a new issue