Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Claude model #26

Closed
johnd0e opened this issue Jan 21, 2024 · 0 comments
Closed

Update Claude model #26

johnd0e opened this issue Jan 21, 2024 · 0 comments

Comments

@johnd0e
Copy link

johnd0e commented Jan 21, 2024

At the moment claude is broken.
Changes needed:

diff --git a/src/claude.py b/src/claude.py
index 19071a6..51217f3 100644
--- a/src/claude.py
+++ b/src/claude.py
@@ -101,7 +101,7 @@ class Client:
       "completion": {
         "prompt": f"{prompt}",
         "timezone": "Europe/London",
-        "model": "claude-2"
+        "model": "claude-2.1"
       },
       "organization_uuid": f"{self.organization_id}",
       "conversation_uuid": f"{conversation_id}",
@@ -169,7 +170,7 @@ class Client:
       "completion": {
         "prompt": f"{prompt}",
         "timezone": "Europe/London",
-        "model": "claude-2"
+        "model": "claude-2.1"
       },
       "organization_uuid": f"{self.organization_id}",
       "conversation_uuid": f"{conversation_id}",

But.. better use constant, or common func.

@Amm1rr Amm1rr closed this as completed Apr 7, 2024
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

No branches or pull requests

2 participants