feat: replace playground with stdin loop in agno.py#249
Closed
ezyang wants to merge 4 commits intogh/ezyang/192/basefrom
Closed
feat: replace playground with stdin loop in agno.py#249ezyang wants to merge 4 commits intogh/ezyang/192/basefrom
ezyang wants to merge 4 commits intogh/ezyang/192/basefrom
Conversation
This was referenced Apr 14, 2025
Closed
ezyang
added a commit
that referenced
this pull request
Apr 14, 2025
codemcp/agno.py
Comment this out
playground = Playground(agents=[agent]).get_app()
await serve_playground_app_async(playground)
And replace it with a simple loop that reads user input from stdin and then feeds it to agent.print_response(USER_INPUT, stream=True, show_full_reasoning=True, stream_intermediate_steps=True)
```git-revs
07d9020 (Base revision)
d245ee6 Replace playground with stdin loop
8ff5aa1 Auto-commit format changes
HEAD Auto-commit lint changes
```
codemcp-id: 260-feat-replace-playground-with-stdin-loop-in-agno-py
ghstack-source-id: 2255e06
Pull-Request-resolved: #249
ezyang
added a commit
that referenced
this pull request
Apr 14, 2025
codemcp/agno.py
Comment this out
playground = Playground(agents=[agent]).get_app()
await serve_playground_app_async(playground)
And replace it with a simple loop that reads user input from stdin and then feeds it to agent.print_response(USER_INPUT, stream=True, show_full_reasoning=True, stream_intermediate_steps=True)
```git-revs
07d9020 (Base revision)
d245ee6 Replace playground with stdin loop
8ff5aa1 Auto-commit format changes
c2f7f0c Auto-commit lint changes
HEAD Fix stdin loop to properly await async methods
```
codemcp-id: 260-feat-replace-playground-with-stdin-loop-in-agno-py
ghstack-source-id: 42cfc97
Pull-Request-resolved: #249
ezyang
added a commit
that referenced
this pull request
Apr 14, 2025
codemcp/agno.py
Comment this out
playground = Playground(agents=[agent]).get_app()
await serve_playground_app_async(playground)
And replace it with a simple loop that reads user input from stdin and then feeds it to agent.print_response(USER_INPUT, stream=True, show_full_reasoning=True, stream_intermediate_steps=True)
```git-revs
07d9020 (Base revision)
d245ee6 Replace playground with stdin loop
8ff5aa1 Auto-commit format changes
c2f7f0c Auto-commit lint changes
4c2c727 Fix stdin loop to properly await async methods
HEAD Refactor stdin loop with separate query processing function
```
codemcp-id: 260-feat-replace-playground-with-stdin-loop-in-agno-py
ghstack-source-id: ee1e346
Pull-Request-resolved: #249
This was referenced Apr 14, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack from ghstack (oldest at bottom):
codemcp/agno.py
Comment this out
And replace it with a simple loop that reads user input from stdin and then feeds it to agent.print_response(USER_INPUT, stream=True, show_full_reasoning=True, stream_intermediate_steps=True)
codemcp-id: 260-feat-replace-playground-with-stdin-loop-in-agno-py