add comment todos

This commit is contained in:
Xi Yan 2024-09-09 11:50:35 -07:00
parent 8c378fadcc
commit 26209a9d99
2 changed files with 2 additions and 14 deletions

View file

@ -7,7 +7,6 @@ def main(host: str, port: int):
base_url=f"http://{host}:{port}",
)
# Need smt like this to work w/ server, however this is not what was generated by SDK (?)
response = client.inference.chat_completion(
request={
"messages": [
@ -19,7 +18,7 @@ def main(host: str, port: int):
)
print(response)
# This does not work with current server
# TODO (xiyan). This does not work with current server, need to fix
# response = client.inference.chat_completion(
# messages=[
# UserMessage(content="hello world, troll me in two-paragraphs about 42", role="user"),