Skip to content

Conversation

dsingal0
Copy link
Contributor

🚀 What

Adds /v1/messages

💻 How

🔬 Testing

tested by pip installing truss from src, running openai_test with curl to curl -X POST http://localhost:8080/v1/messages
-H "Content-Type: application/json"
-d '{"key1": "value1", "key2": "value2"}'

@dsingal0 dsingal0 requested review from nnarayen and squidarth August 21, 2025 23:48
Copy link
Contributor

@nnarayen nnarayen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

def predict(self, input: Dict) -> str:
return "predict"

def messages(self, input: Dict) -> str:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind adding thin tests similar to either this or this?

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

Successfully merging this pull request may close these issues.

2 participants