-
Notifications
You must be signed in to change notification settings - Fork 156
Fix verdure and update README to add more validation steps. #881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 3 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
a63648f
Update README.md
polina-c 01dab08
-
polina-c fb7a3a4
Update README.md
polina-c 819a928
Merge branch 'main' of https://github.com/flutter/genui into curl
polina-c 5d054c0
Update agent.py
polina-c dab21ad
Update README.md
polina-c File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -36,7 +36,21 @@ c. Install dependencies and run the server using UV: | |||||
| uv run . | ||||||
| ``` | ||||||
|
|
||||||
| The server will start on `http://localhost:10002` by default. | ||||||
| The server will start on `http://localhost:10002` by default. | ||||||
|
|
||||||
| d. In another terminal window: | ||||||
|
|
||||||
| * verify that the agent is available via A2A: | ||||||
|
|
||||||
| ```bash | ||||||
| curl http://localhost:10002/.well-known/agent-card.json | ||||||
| ``` | ||||||
|
|
||||||
| * send a message to the agent: | ||||||
|
|
||||||
| ```bash | ||||||
| curl localhost:10002 -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"message/send","params":{"message":{"role":"user","parts":[{"text":"Please, help me with my project. I have a small backyard and I would like to plant some flowers and vegetables."}],"messageId":"1"}}}' | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For consistency with the verification step in line 46 and to ensure the command is explicit, please include the
Suggested change
|
||||||
| ``` | ||||||
|
|
||||||
| ### 2. Run the Client | ||||||
|
|
||||||
|
|
||||||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request includes significant changes to the macOS project configuration (migrating to Swift Package Manager for plugins and removing dependencies) that are unrelated to the PR title 'Add curl to invoke service'. To maintain a clean project history and facilitate easier reviews, please consider splitting these infrastructure changes into a separate pull request.