mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 04:54:59 +00:00
Update cheatsheets
This commit is contained in:
29
tldr/opencode-models
Normal file
29
tldr/opencode-models
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# opencode models
|
||||
|
||||
> List all available models from configured providers.
|
||||
> More information: <https://opencode.ai/docs/cli#models>.
|
||||
|
||||
- List all available models from all configured providers:
|
||||
|
||||
`opencode models`
|
||||
|
||||
- List models from a specific provider:
|
||||
|
||||
`opencode models {{provider}}`
|
||||
|
||||
- List models with verbose output including metadata like costs:
|
||||
|
||||
`opencode models --verbose`
|
||||
|
||||
- Refresh the models cache from models.dev:
|
||||
|
||||
`opencode models --refresh`
|
||||
|
||||
- Display help:
|
||||
|
||||
`opencode models {{[-h|--help]}}`
|
||||
Reference in New Issue
Block a user