Skip to content

Commit d256aae

Browse files
authored
Merge branch 'main' into fix/linting
2 parents 2b406d1 + 942bb31 commit d256aae

257 files changed

Lines changed: 11464 additions & 2013 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/hello_world_portkey_adk.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ async def main() -> None:
4242
req = build_request(model)
4343
final_text: List[str] = []
4444
async for resp in llm.generate_content_async(req, stream=False):
45-
parts = getattr(resp.content, "parts", None) if resp.content else None
46-
if parts:
47-
for p in parts:
45+
if resp.content and getattr(resp.content, "parts", None):
46+
for p in resp.content.parts or []:
4847
text = getattr(p, "text", None)
4948
if text:
5049
final_text.append(text)

portkey_ai/__init__.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,14 @@
147147
AsyncConversationsItems,
148148
Videos,
149149
AsyncVideos,
150+
Skills,
151+
AsyncSkills,
152+
SkillsContent,
153+
AsyncSkillsContent,
154+
SkillsVersions,
155+
AsyncSkillsVersions,
156+
SkillsVersionsContent,
157+
AsyncSkillsVersionsContent,
150158
ChatKit,
151159
AsyncChatKit,
152160
ChatKitSessions,
@@ -347,6 +355,14 @@
347355
"AsyncConversationsItems",
348356
"Videos",
349357
"AsyncVideos",
358+
"Skills",
359+
"AsyncSkills",
360+
"SkillsContent",
361+
"AsyncSkillsContent",
362+
"SkillsVersions",
363+
"AsyncSkillsVersions",
364+
"SkillsVersionsContent",
365+
"AsyncSkillsVersionsContent",
350366
"ChatKit",
351367
"AsyncChatKit",
352368
"ChatKitSessions",
File renamed without changes.

portkey_ai/_vendor/openai-2.16.0.dist-info/METADATA renamed to portkey_ai/_vendor/openai-2.30.0.dist-info/METADATA

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.3
22
Name: openai
3-
Version: 2.16.0
3+
Version: 2.30.0
44
Summary: The official Python library for the openai API
55
Project-URL: Homepage, https://github.com/openai/openai-python
66
Project-URL: Repository, https://github.com/openai/openai-python
@@ -29,7 +29,7 @@ Requires-Dist: jiter<1,>=0.10.0
2929
Requires-Dist: pydantic<3,>=1.9.0
3030
Requires-Dist: sniffio
3131
Requires-Dist: tqdm>4
32-
Requires-Dist: typing-extensions<5,>=4.11
32+
Requires-Dist: typing-extensions<5,>=4.14
3333
Provides-Extra: aiohttp
3434
Requires-Dist: aiohttp; extra == 'aiohttp'
3535
Requires-Dist: httpx-aiohttp>=0.1.9; extra == 'aiohttp'

portkey_ai/_vendor/openai-2.16.0.dist-info/RECORD renamed to portkey_ai/_vendor/openai-2.30.0.dist-info/RECORD

Lines changed: 1313 additions & 1163 deletions
Large diffs are not rendered by default.
File renamed without changes.
File renamed without changes.

portkey_ai/_vendor/openai-2.16.0.dist-info/entry_points.txt renamed to portkey_ai/_vendor/openai-2.30.0.dist-info/entry_points.txt

File renamed without changes.

portkey_ai/_vendor/openai-2.16.0.dist-info/licenses/LICENSE renamed to portkey_ai/_vendor/openai-2.30.0.dist-info/licenses/LICENSE

File renamed without changes.

portkey_ai/_vendor/openai/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ def _reset_client() -> None: # type: ignore[reportUnusedFunction]
379379
files as files,
380380
images as images,
381381
models as models,
382+
skills as skills,
382383
videos as videos,
383384
batches as batches,
384385
uploads as uploads,

0 commit comments

Comments
 (0)