simonw / llm

Access large language models from the command-line
https://llm.datasette.io
Apache License 2.0
4.81k stars 266 forks source link

doc: update openai-models.md for 4o / missing yaml key #547

Open tavisrudd opened 3 months ago

tavisrudd commented 3 months ago

Update the output of llm models for recent 4x models and update extra-openai-models.yaml to demonstrate use of gpt-4o-2024-08-06.

Also, the example of extra-openai-models.yaml was missing model_name which leads to a KeyError:

  File "xxxx/llm/default_plugins/openai_models.py", line 53, in register_models
    model_name = extra_model["model_name"]
KeyError: 'model_name'