Skip to content

Commit

Permalink
doc: Improve documentation and add Multimodal Live API screenshots
Browse files Browse the repository at this point in the history
fix: Only gemini-2.0-flash-exp can use Multimodal Live API
  • Loading branch information
Amery2010 committed Feb 21, 2025
1 parent 8cc3a67 commit 65fa13a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ Supports Gemini 1.5 and Gemini 2.0 multimodal models

Support plugins, with built-in Web search, Web reader, Arxiv search, Weather and other practical plugins

![Multimodal Live](./docs/images/multimodal-live.jpg)

Support Multimodal Live API, smooth voice and video experience

![Tray app](./docs/images/trayapp.png)

A cross-platform application client that supports a permanent menu bar, doubling your work efficiency
Expand Down
4 changes: 4 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@

支持插件功能,内置网络搜索、网页解读、论文搜索、实时天气等多种实用插件

![Multimodal Live](./docs/images/multimodal-live.jpg)

支持 Multimodal Live API,流畅的语音、视频体验

![Tray app](./docs/images/trayapp.png)

跨平台的应用客户端,支持常驻菜单栏,让您的工作效率翻倍
Expand Down
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default function Home() {
const conversationTitle = useMemo(() => (title ? title : t('chatAnything')), [title, t])
const [status, setStatus] = useState<'thinkng' | 'silence' | 'talking'>('silence')
const canUseMultimodalLive = useMemo(() => {
return isFullGemini2FlashModel(model)
return model.startsWith('gemini-2.0-flash-exp')
}, [model])
const isOldVisionModel = useMemo(() => {
return OldVisionModel.includes(model)
Expand Down
Binary file added docs/images/multimodal-live.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 65fa13a

Please sign in to comment.