Skip to content

Commit

Permalink
fix doc code snippet rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
cornelcroi committed Dec 24, 2024
1 parent b21c075 commit efcf00a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/src/content/docs/agents/built-in/openai-agent.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const agent = new OpenAIAgent({
description: 'A versatile AI assistant',
apiKey: 'your-openai-api-key'
});

```
</TabItem>
<TabItem label="Python" icon="seti:python">

Expand All @@ -94,9 +94,9 @@ const agent = new OpenAIAgent({
name: 'OpenAI Assistant',
description: 'A versatile AI assistant',
client: customClient
```
});

});
```
</TabItem>
<TabItem label="Python" icon="seti:python">
```python
Expand Down Expand Up @@ -267,7 +267,7 @@ description: 'An assistant with retriever',
apiKey: 'your-openai-api-key',
retriever: retriever
});
```
</TabItem>
<TabItem label="Python" icon="seti:python">
```python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export class SQSLogger {
}
}



private formatMessage(...args: any[]): string {
return args.map(arg =>
typeof arg === 'object' ? JSON.stringify(arg) : String(arg)
Expand Down

0 comments on commit efcf00a

Please sign in to comment.