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

bug: All LLMs except Claude ignores the command output #4151

Open
mattia-consiglio opened this issue May 10, 2024 · 1 comment
Open

bug: All LLMs except Claude ignores the command output #4151

mattia-consiglio opened this issue May 10, 2024 · 1 comment
Labels

Comments

@mattia-consiglio
Copy link

Version

1.89.1 (user setup)

Describe the bug

When running the custom command

"commit-message": {
	"description": "Commit message for staged changes",
	"prompt": "Suggest an informative commit message by summarizing code changes from the shared command output. The commit message should follow the conventional commit format and provide meaningful context for future readers. The commit summary that includes the commit type (scope) has to be under 50 characters including spaces. Be sure to include the commit summary. Use bullet points for the description. The commit message should be presented in a code block.",
	"context": {
		"selection": false,
		"openTabs": false,
		"currentFile": false,
		"command": "git diff --staged --minimal -w"
	}
}

There are 3 different behavior:

  1. GPT-3.5 Turbo, Mixtral (all), Ollama: The LLM recognize that has no access to the output of the terminal.
  2. GPTP-4 Turbo: The LLM hallucinate the response giving a fake commit message, without saying it.
  3. Claude (all): The LLM gives an appropriate answer.

Expected behavior

The LLM to be able to use the command output.

Additional context

No response

@mattia-consiglio mattia-consiglio added bug Something isn't working clients/vscode labels May 10, 2024
@github-actions github-actions bot added the cody label May 10, 2024
@jdorfman
Copy link
Member

Thanks, @mattia-consiglio. I will get some eyes on this.

@chenkc805 chenkc805 added the quick-win label May 14, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants