Skip to content

Conversation

@ErikBjare
Copy link
Member

@ErikBjare ErikBjare commented Sep 19, 2025

Depends on gptme/gptme#646


Important

Make path optional in CreateAgentRequest, auto-generate if missing, and update CreateAgentResponse to include agent_path.

  • Behavior:
    • path in CreateAgentRequest is now optional and auto-generated if not provided in CreateAgentDialog.tsx.
    • agent_path added to CreateAgentResponse and used to update selected agent's path.
  • Functionality:
    • handleSubmit() in CreateAgentDialog.tsx no longer requires path to be non-empty.
    • createAgent() in api.ts updated to accept CreateAgentRequest type.
  • UI:
    • Workspace path input moved to advanced options and marked as optional in CreateAgentDialog.tsx.

This description was created by Ellipsis for 848b334. You can customize this summary. It will automatically update as commits are pushed.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to 5a05874 in 36 seconds. Click for details.
  • Reviewed 108 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. src/components/CreateAgentDialog.tsx:87
  • Draft comment:
    Before computing the default fork_command, ensure that the workspace path is auto-generated if empty. Currently, processedData.path may be an empty string, causing fork_command to miss the auto-generated value. Consider setting: processedData.path = data.path.trim() ? data.path : ./${slugifyName(data.name)}; before using it in fork_command and when submitting agentData.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.

Workflow ID: wflow_kmM8GDxlOw31Polf

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed e12af4f in 1 minute and 40 seconds. Click for details.
  • Reviewed 48 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 3 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. src/components/CreateAgentDialog.tsx:29
  • Draft comment:
    Removed the client-side slugifyName function. Ensure the backend reliably auto-generates a valid agent_path when none is provided.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.
2. src/components/CreateAgentDialog.tsx:51
  • Draft comment:
    Updated onAgentCreated type to return CreateAgentResponse, which now includes agent_path. Confirm that the API always returns this field.
  • Reason this comment was not posted:
    Comment did not seem useful. Confidence is useful = 0% <= threshold 50% The comment is asking the PR author to confirm that the API always returns a specific field. This falls under asking the author to confirm their intention or to ensure behavior, which is against the rules.
3. src/components/CreateAgentDialog.tsx:106
  • Draft comment:
    Now using response.agent_path directly for setting the selected agent's path. Verify that the server returns a proper agent_path even when the workspace path isn’t manually specified.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.

Workflow ID: wflow_UgK7ygyixXe6I3Xe

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed 848b334 in 1 minute and 31 seconds. Click for details.
  • Reviewed 90 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 2 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. src/components/CreateAgentDialog.tsx:181
  • Draft comment:
    Workspace Settings was moved into Advanced Options. Make sure hiding the 'path' field by default is intended, as users may overlook the auto-generation behavior.
  • Reason this comment was not posted:
    Comment looked like it was already resolved.
2. src/components/CreateAgentDialog.tsx:188
  • Draft comment:
    Consider auto-populating the 'path' field based on the 'name' field to better reflect the auto-generation feature.
  • Reason this comment was not posted:
    Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 10% vs. threshold = 50% The comment suggests a UI enhancement to auto-populate the field, but this seems unnecessary since: 1) The field is intentionally optional 2) The auto-generation happens server-side 3) Users may want to specify their own path 4) The current UX clearly communicates that the field will be auto-generated if left empty. Auto-populating might actually make the UX worse by forcing users to delete the auto-populated value if they want to trigger server-side generation. I could be wrong about where the auto-generation happens - there might be client-side code I'm missing. Also, some users might prefer seeing the generated path before submission. Even if the auto-generation is client-side, the current UX is clear and functional. Auto-populating would add complexity without clear benefit and might make the UX worse for users who want to use server-side generation. The comment should be deleted. The current UX clearly communicates the auto-generation feature, and auto-populating the field could actually worsen the user experience.

Workflow ID: wflow_YUiFnO11rfP4hvGK

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@ErikBjare ErikBjare merged commit 4b343c3 into master Sep 19, 2025
1 check passed
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