Skip to content

Commit

Permalink
Merge pull request #56 from justinh-rahb/cohere-fix
Browse files Browse the repository at this point in the history
Cohere envvar fix
  • Loading branch information
tjbck committed Jun 4, 2024
2 parents 3f7a44d + 5743db5 commit 06ed4bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/pipelines/providers/cohere_manifold_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ def __init__(self):

self.name = "cohere/"

self.valves = self.Valves(**{"COHERE_API_KEY": os.getenv("COHERE_API_KEY")})
self.valves = self.Valves(
**{"COHERE_API_KEY": os.getenv("COHERE_API_KEY", "your-api-key-here")}
)

self.pipelines = self.get_cohere_models()

Expand Down

0 comments on commit 06ed4bc

Please sign in to comment.