Should I specify dependency versions in my prompts?

AutoCI has built-in functionality (via the CLI) to determine the best version of frameworks and tools for your project. While you can override AutoCI's detection of versions and tools by specifying them in the prompt file, it's generally best to let AutoCI choose the versions automatically.

When to specify versions

Only specify versions when:

  • AutoCI is unable to detect the correct version
  • You need to use a specific version for compatibility reasons
  • Your project requires a non-standard version

Examples

Using a structured format:

tools:
- node: 18.x
- go: 1.23

Or using natural language:

Use go 1.23 and the latest version of node