Skip to content

Conversation

ezyang
Copy link
Owner

@ezyang ezyang commented Apr 14, 2025

Stack from ghstack (oldest at bottom):

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)

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-poisoned]
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
[ghstack-poisoned]
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
[ghstack-poisoned]
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
[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant