mirror of
https://github.com/katanemo/plano.git
synced 2026-06-29 15:49:40 +02:00
add more tests
This commit is contained in:
parent
f5ecf733ff
commit
e35560623c
7 changed files with 171 additions and 49 deletions
|
|
@ -12,6 +12,7 @@ LLM_GATEWAY_ENDPOINT = os.getenv(
|
|||
def get_data_chunks(stream, n=1):
|
||||
chunks = []
|
||||
for chunk in stream.iter_lines():
|
||||
print(chunk)
|
||||
if chunk:
|
||||
chunk = chunk.decode("utf-8")
|
||||
chunk_data_id = chunk[0:6]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue