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

API URL 404 #7

Open
philharmonie opened this issue Jul 28, 2024 · 0 comments
Open

API URL 404 #7

philharmonie opened this issue Jul 28, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@philharmonie
Copy link

Current Behavior

Sending a POST request to the URL https://endpoints.getmerlin.in/chat/completions returns a 404:

Expected Behavior

Expected a 200

Steps to Reproduce the Problem

curl --location --request POST 'https://endpoints.getmerlin.in/chat/completions' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'x-merlin-key: MY-API-KEY' \
--data-raw '{
  "model": "claude-2",
  "messages": [
    {
      "role": "user",
      "content": "Who won the world series in 2020?"
    },
    {
      "role": "assistant",
      "content": "The Los Angeles Dodgers won the World Series in 2020."
    },
    {
      "role": "user",
      "content": "Where was it played?"
    }
  ],
  "temperature": 1,
  "top_p": 1,
  "n": 1,
  "stream": false,
  "max_tokens": 250,
  "presence_penalty": 0,
  "frequency_penalty": 0
}'

Environment

  • Version: latest
  • Platform: MacOS latest
@philharmonie philharmonie added the bug Something isn't working label Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant