st1vms / unofficial-claude-api

Unofficial Claude API supporting direct HTTP chat creation/deletion/retrieval, messages with multiple file attachments and auto session gathering using Firefox with geckodriver.
MIT License
131 stars 12 forks source link

Claude 3? #17

Closed ermaxinc closed 8 months ago

ermaxinc commented 8 months ago

When should we expect an update for claude 3?

st1vms commented 8 months ago

@ermaxinc I'm not actually aware of a Claude 3 update...

If it's just the model name updated, then it's just a matter of changing model_name paramater in ClaudeAPIClient.

May require more changes but I'm not sure and don't have much time to verify right now...

If you're willing to post the relevant captured request for /append_message and try changing the client parameter, it would help me a lot.

st1vms commented 8 months ago

Apparently, it seems they dropped that parameter, probably this API should avoid setting it by default if no model_name was provided.

I'm working on a PR for this...

st1vms commented 8 months ago

@ermaxinc Please have a look at PR #18