Commit edb5615
authored
feat: Add new
* feat: Add new parallel_chat() feature for easily submitting concurrent requests
* Update changelog
* Make tests more robust
* Fix examples
* Update function reference
* Update types
* serialized tool calling
* refactor logic
* A start on proper error handling
* Return None if request was never submitted
* Add overloads
* Undo unnecessary locking
* Attach chat to structured result
* Doctsring fixes
* Clean up error handling testsparallel_chat() feature (#188)1 parent ec189ab commit edb5615
File tree
11 files changed
+1571
-2
lines changed- chatlas
- types
- docs
- tests
11 files changed
+1571
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1259 | 1259 | | |
1260 | 1260 | | |
1261 | 1261 | | |
| 1262 | + | |
1262 | 1263 | | |
1263 | 1264 | | |
1264 | 1265 | | |
| |||
1279 | 1280 | | |
1280 | 1281 | | |
1281 | 1282 | | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
1282 | 1286 | | |
1283 | 1287 | | |
1284 | 1288 | | |
| |||
1290 | 1294 | | |
1291 | 1295 | | |
1292 | 1296 | | |
| 1297 | + | |
1293 | 1298 | | |
1294 | 1299 | | |
1295 | 1300 | | |
| |||
1322 | 1327 | | |
1323 | 1328 | | |
1324 | 1329 | | |
| 1330 | + | |
1325 | 1331 | | |
1326 | 1332 | | |
1327 | 1333 | | |
| |||
1331 | 1337 | | |
1332 | 1338 | | |
1333 | 1339 | | |
| 1340 | + | |
1334 | 1341 | | |
1335 | 1342 | | |
1336 | 1343 | | |
| |||
1349 | 1356 | | |
1350 | 1357 | | |
1351 | 1358 | | |
| 1359 | + | |
1352 | 1360 | | |
1353 | 1361 | | |
1354 | 1362 | | |
| |||
1370 | 1378 | | |
1371 | 1379 | | |
1372 | 1380 | | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
1373 | 1384 | | |
1374 | 1385 | | |
1375 | 1386 | | |
| |||
1381 | 1392 | | |
1382 | 1393 | | |
1383 | 1394 | | |
| 1395 | + | |
1384 | 1396 | | |
1385 | 1397 | | |
1386 | 1398 | | |
| |||
1390 | 1402 | | |
1391 | 1403 | | |
1392 | 1404 | | |
| 1405 | + | |
1393 | 1406 | | |
1394 | 1407 | | |
1395 | 1408 | | |
| |||
1405 | 1418 | | |
1406 | 1419 | | |
1407 | 1420 | | |
| 1421 | + | |
1408 | 1422 | | |
1409 | 1423 | | |
1410 | 1424 | | |
| |||
1413 | 1427 | | |
1414 | 1428 | | |
1415 | 1429 | | |
| 1430 | + | |
1416 | 1431 | | |
1417 | 1432 | | |
1418 | 1433 | | |
| |||
1422 | 1437 | | |
1423 | 1438 | | |
1424 | 1439 | | |
| 1440 | + | |
1425 | 1441 | | |
1426 | 1442 | | |
1427 | 1443 | | |
| |||
0 commit comments