Skip to content

Retrieval issue #14

@Lorh-o

Description

@Lorh-o

I've got a py script to send a request, yet I'm not getting any response. But I am getting a 200 reply.

import requests

url = "http://localhost:3022"

response = requests.post(url, json=
{
    "prompt": "Write a python function that prints the Fibonacci sequence up to a given number.",
    "language": "python"
})

print(response.status_code)

if response.status_code == 200:
    print(response.text)
    print(response.json())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions