Module openai

Source

Structs§

Request
Response

Functions§

call
Calls the OpenAI API with default configuration from settings
call_with_config
Calls the OpenAI API with the provided configuration
create_openai_config
Creates an OpenAI configuration from application settings
generate_commit_message
Generates an improved commit message using the provided prompt and diff Now uses a simplified approach that doesn’t require parsing the diff