|  | 
| 33 | 33 | if TYPE_CHECKING: | 
| 34 | 34 |     from .resources import ( | 
| 35 | 35 |         auth, | 
| 36 |  | -        chat, | 
| 37 | 36 |         agents, | 
| 38 | 37 |         models, | 
| 39 | 38 |         regions, | 
|  | 
| 43 | 42 |         indexing_jobs, | 
| 44 | 43 |         knowledge_bases, | 
| 45 | 44 |     ) | 
| 46 |  | -    from .resources.chat import ChatResource, AsyncChatResource | 
| 47 | 45 |     from .resources.models import ModelsResource, AsyncModelsResource | 
| 48 | 46 |     from .resources.regions import RegionsResource, AsyncRegionsResource | 
| 49 | 47 |     from .resources.auth.auth import AuthResource, AsyncAuthResource | 
| @@ -163,12 +161,6 @@ def api_keys(self) -> APIKeysResource: | 
| 163 | 161 | 
 | 
| 164 | 162 |         return APIKeysResource(self) | 
| 165 | 163 | 
 | 
| 166 |  | -    @cached_property | 
| 167 |  | -    def chat(self) -> ChatResource: | 
| 168 |  | -        from .resources.chat import ChatResource | 
| 169 |  | - | 
| 170 |  | -        return ChatResource(self) | 
| 171 |  | - | 
| 172 | 164 |     @cached_property | 
| 173 | 165 |     def embeddings(self) -> EmbeddingsResource: | 
| 174 | 166 |         from .resources.embeddings import EmbeddingsResource | 
| @@ -391,12 +383,6 @@ def api_keys(self) -> AsyncAPIKeysResource: | 
| 391 | 383 | 
 | 
| 392 | 384 |         return AsyncAPIKeysResource(self) | 
| 393 | 385 | 
 | 
| 394 |  | -    @cached_property | 
| 395 |  | -    def chat(self) -> AsyncChatResource: | 
| 396 |  | -        from .resources.chat import AsyncChatResource | 
| 397 |  | - | 
| 398 |  | -        return AsyncChatResource(self) | 
| 399 |  | - | 
| 400 | 386 |     @cached_property | 
| 401 | 387 |     def embeddings(self) -> AsyncEmbeddingsResource: | 
| 402 | 388 |         from .resources.embeddings import AsyncEmbeddingsResource | 
| @@ -570,12 +556,6 @@ def api_keys(self) -> api_keys.APIKeysResourceWithRawResponse: | 
| 570 | 556 | 
 | 
| 571 | 557 |         return APIKeysResourceWithRawResponse(self._client.api_keys) | 
| 572 | 558 | 
 | 
| 573 |  | -    @cached_property | 
| 574 |  | -    def chat(self) -> chat.ChatResourceWithRawResponse: | 
| 575 |  | -        from .resources.chat import ChatResourceWithRawResponse | 
| 576 |  | - | 
| 577 |  | -        return ChatResourceWithRawResponse(self._client.chat) | 
| 578 |  | - | 
| 579 | 559 |     @cached_property | 
| 580 | 560 |     def embeddings(self) -> embeddings.EmbeddingsResourceWithRawResponse: | 
| 581 | 561 |         from .resources.embeddings import EmbeddingsResourceWithRawResponse | 
| @@ -637,12 +617,6 @@ def api_keys(self) -> api_keys.AsyncAPIKeysResourceWithRawResponse: | 
| 637 | 617 | 
 | 
| 638 | 618 |         return AsyncAPIKeysResourceWithRawResponse(self._client.api_keys) | 
| 639 | 619 | 
 | 
| 640 |  | -    @cached_property | 
| 641 |  | -    def chat(self) -> chat.AsyncChatResourceWithRawResponse: | 
| 642 |  | -        from .resources.chat import AsyncChatResourceWithRawResponse | 
| 643 |  | - | 
| 644 |  | -        return AsyncChatResourceWithRawResponse(self._client.chat) | 
| 645 |  | - | 
| 646 | 620 |     @cached_property | 
| 647 | 621 |     def embeddings(self) -> embeddings.AsyncEmbeddingsResourceWithRawResponse: | 
| 648 | 622 |         from .resources.embeddings import AsyncEmbeddingsResourceWithRawResponse | 
| @@ -704,12 +678,6 @@ def api_keys(self) -> api_keys.APIKeysResourceWithStreamingResponse: | 
| 704 | 678 | 
 | 
| 705 | 679 |         return APIKeysResourceWithStreamingResponse(self._client.api_keys) | 
| 706 | 680 | 
 | 
| 707 |  | -    @cached_property | 
| 708 |  | -    def chat(self) -> chat.ChatResourceWithStreamingResponse: | 
| 709 |  | -        from .resources.chat import ChatResourceWithStreamingResponse | 
| 710 |  | - | 
| 711 |  | -        return ChatResourceWithStreamingResponse(self._client.chat) | 
| 712 |  | - | 
| 713 | 681 |     @cached_property | 
| 714 | 682 |     def embeddings(self) -> embeddings.EmbeddingsResourceWithStreamingResponse: | 
| 715 | 683 |         from .resources.embeddings import EmbeddingsResourceWithStreamingResponse | 
| @@ -771,12 +739,6 @@ def api_keys(self) -> api_keys.AsyncAPIKeysResourceWithStreamingResponse: | 
| 771 | 739 | 
 | 
| 772 | 740 |         return AsyncAPIKeysResourceWithStreamingResponse(self._client.api_keys) | 
| 773 | 741 | 
 | 
| 774 |  | -    @cached_property | 
| 775 |  | -    def chat(self) -> chat.AsyncChatResourceWithStreamingResponse: | 
| 776 |  | -        from .resources.chat import AsyncChatResourceWithStreamingResponse | 
| 777 |  | - | 
| 778 |  | -        return AsyncChatResourceWithStreamingResponse(self._client.chat) | 
| 779 |  | - | 
| 780 | 742 |     @cached_property | 
| 781 | 743 |     def embeddings(self) -> embeddings.AsyncEmbeddingsResourceWithStreamingResponse: | 
| 782 | 744 |         from .resources.embeddings import AsyncEmbeddingsResourceWithStreamingResponse | 
|  | 
0 commit comments