🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1632
**Author:** [@cheahjs](https://github.com/cheahjs)
**Created:** 4/20/2024
**Status:** ✅ Merged
**Merged:** 4/20/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `fix/error-object-object`
---
### 📝 Commits (1)
- [`7e5bda6`](https://github.com/open-webui/open-webui/commit/7e5bda6016538de7959b56b04293168396ca83e4) fix: use model name when outputting error message
### 📊 Changes
**2 files changed** (+10 additions, -6 deletions)
<details>
<summary>View changed files</summary>
📝 `src/routes/(app)/+page.svelte` (+5 -3)
📝 `src/routes/(app)/c/[id]/+page.svelte` (+5 -3)
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [ ] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation?
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
Addresses https://github.com/open-webui/open-webui/issues/1596, where we print `[object Object]` on an error with OpenAI responses because `model` is an object, not a string. Use the model's name or id instead.
<img width="844" alt="image" src="https://github.com/open-webui/open-webui/assets/818368/e5bfa5b6-7fb5-4c48-8646-c02ea02db250">
---
### Changelog Entry
### Fixed
-
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1632
Author: @cheahjs
Created: 4/20/2024
Status: ✅ Merged
Merged: 4/20/2024
Merged by: @tjbck
Base:
dev← Head:fix/error-object-object📝 Commits (1)
7e5bda6fix: use model name when outputting error message📊 Changes
2 files changed (+10 additions, -6 deletions)
View changed files
📝
src/routes/(app)/+page.svelte(+5 -3)📝
src/routes/(app)/c/[id]/+page.svelte(+5 -3)📄 Description
Pull Request Checklist
Description
Addresses https://github.com/open-webui/open-webui/issues/1596, where we print
[object Object]on an error with OpenAI responses becausemodelis an object, not a string. Use the model's name or id instead.Changelog Entry
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.