github action

This commit is contained in:
mrT23
2023-09-06 17:43:43 +03:00
parent 8962c9cf8a
commit 8af8fd8e5d
3 changed files with 10 additions and 3 deletions

View File

@ -78,7 +78,7 @@ class PRAgent:
elif action in command2class:
if notify:
notify()
await command2class[action](pr_url, *args).run()
await command2class[action](pr_url, args=args).run()
else:
return False
return True

View File

@ -16,6 +16,10 @@ key = "" # Acquire through https://platform.openai.com
#deployment_id = "" # The deployment name you chose when you deployed the engine
#fallback_deployments = [] # For each fallback model specified in configuration.toml in the [config] section, specify the appropriate deployment_id
[pinecone]
api_key = "..."
environment = "gcp-starter"
[anthropic]
key = "" # Optional, uncomment if you want to use Anthropic. Acquire through https://www.anthropic.com/