camel-ai/camel

[BUG] Excessive Usage of OpenAI APIs on Every Git Push

Open

#364 opened on Nov 10, 2023

 (6 comments) (0 reactions) (1 assignee)Python (2,020 forks)auto 404
CI/CDP1good first issue

Repository metrics

Stars
 (17,486 stars)
PR merge metrics
 (PR metrics pending)

Description

Required prerequisites

Problem description

We have identified a critical issue where the OpenAI APIs are being invoked on every push to the Git repository. This behavior is highly inefficient and potentially costly, as it results in unnecessary API calls regardless of whether they are needed for the particular code changes being pushed.

The expected behavior is that the OpenAI APIs should only be triggered under specific conditions, such as before merging a PR.

Contributor guide