Skip to content
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

Implement agent CLI commands that target gRPC functions #627

Open
7 tasks
mscottford opened this issue Aug 21, 2023 · 0 comments
Open
7 tasks

Implement agent CLI commands that target gRPC functions #627

mscottford opened this issue Aug 21, 2023 · 0 comments
Labels
Milestone

Comments

@mscottford
Copy link
Member

mscottford commented Aug 21, 2023

The initial implementation of the CLI language agent "specification" was for the language agents to implement CLI commands that the Freshli CLI would call. gRPC calls replaced those CLI commands for performance reasons. However, it's still handy to invoke those commands from the CLI for troubleshooting purposes.

Since each agent has to implement the same gRPC functions, the CLI can implement the original commands for this purpose. That prevents each language agent from having to implement the exact same logic for parsing parameters from the CLI.

For each command, the first parameter is the short name of the language agent (e.g. dotnet for freshli-agent-dotnet), and the remaining parameters, if any, are the values that will get passed into the gRPC calls as parameters.

@mscottford mscottford converted this from a draft issue Aug 21, 2023
@mscottford mscottford added this to the v0.8.0 milestone Aug 21, 2023
@mscottford mscottford moved this from To Do to Backlog in Freshli Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant