Skip to content

Conversation

@ezraschwaa
Copy link

@ezraschwaa ezraschwaa commented Jan 20, 2025

Adds new parameters that the post_webhook function will check which are:

  • openai_api_key: OpenAI API key for generating diff summaries

  • openai_model (optional): OpenAI preferred model for generating diff summaries. Defaults to "gpt-4o"

  • openai_prompt (optional): Custom OpenAI prompt for generating diff summaries

New usage example:

production:
  server: www.example.com
  webhook_url: http://api.example.com/frak/frak.php
  openai_api_key: sk-example
  openai_model: gpt-3.5-turbo
  openai_prompt: Summarize this diff content in the form of a poem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant