> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aclose • AI Agents Framework

> aclose: Close the core OpenAI client if it exists.

# aclose

AsyncMethod

> This is a method of the [**BaseAutoGenerator**](https://praison.ai/docs/sdk/reference/praisonai/classes/BaseAutoGenerator.md) class in the [**auto**](https://praison.ai/docs/sdk/reference/praisonai/modules/auto.md) module.

Close the core OpenAI client if it exists.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def aclose() -> Any
```

### Returns

**Returns** `Any`

The result of the operation.

## Uses

* `client.aclose`

## Used By

* [`BaseAutoGenerator.aclose`](../functions/BaseAutoGenerator-aclose)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/auto.py#L647)
>
> `praisonai/auto.py` at line 647


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.