File tree Expand file tree Collapse file tree
docs/features/model-integration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,10 +60,7 @@ export default function ModelIntegration() {
6060 </ h3 >
6161 < div className = "flex flex-wrap gap-2" >
6262 < span className = "inline-flex items-center rounded-full bg-emerald-100 dark:bg-emerald-900/40 text-emerald-900 dark:text-emerald-200 px-3 py-1 text-sm" >
63- gpt-4.1-mini/4.1
64- </ span >
65- < span className = "inline-flex items-center rounded-full bg-emerald-100 dark:bg-emerald-900/40 text-emerald-900 dark:text-emerald-200 px-3 py-1 text-sm" >
66- gpt-5
63+ gpt-4.1-mini/4.1/5
6764 </ span >
6865 < span className = "inline-flex items-center rounded-full bg-emerald-100 dark:bg-emerald-900/40 text-emerald-900 dark:text-emerald-200 px-3 py-1 text-sm" >
6966 grok-4/grok-code-fast
@@ -77,6 +74,9 @@ export default function ModelIntegration() {
7774 < span className = "inline-flex items-center rounded-full bg-emerald-100 dark:bg-emerald-900/40 text-emerald-900 dark:text-emerald-200 px-3 py-1 text-sm" >
7875 claude-4-sonnet/4.5/3.7/haiku-4.5
7976 </ span >
77+ < span className = "inline-flex items-center rounded-full bg-emerald-100 dark:bg-emerald-900/40 text-emerald-900 dark:text-emerald-200 px-3 py-1 text-sm" >
78+ gemini-2.5-pro
79+ </ span >
8080 </ div >
8181 </ div >
8282
@@ -91,7 +91,6 @@ export default function ModelIntegration() {
9191 有概率出错,通常能自动修复,建议 temperature 设置高一些
9292 </ li >
9393 < li > 小模型、nano 模型,效果不佳</ li >
94- < li > TODO: Gemini 官方提供的 OpenAI 接口 tool call 部分不兼容</ li >
9594 </ ul >
9695 </ div >
9796
Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ import { PageAgent } from '@/PageAgent.js'
77import Footer from './components/Footer'
88import Header from './components/Header'
99
10- const DEMO_MODEL = 'PAGE-AGENT-FREE-TESTING-RANDOM'
11- const DEMO_BASE_URL = 'https://hwcxiuzfylggtcktqgij.supabase.co/functions/v1/llm-testing-proxy'
12- const DEMO_API_KEY = 'PAGE-AGENT-FREE-TESTING-RANDOM'
13-
1410const injection = encodeURI (
1511 "javascript:(function(){var s=document.createElement('script');s.src=`https://hwcxiuzfylggtcktqgij.supabase.co/storage/v1/object/public/demo-public/v0.0.2/page-agent.js?t=${Math.random()}`;s.setAttribute('crossorigin', true);s.type=`text/javascript`;s.onload=()=>console.log('PageAgent script loaded!');document.body.appendChild(s);})();"
1612)
@@ -51,9 +47,9 @@ export default function HomePage() {
5147
5248 // testing server
5349 // @note : rate limit. prompt limit.
54- model : DEMO_MODEL ,
55- baseURL : DEMO_BASE_URL ,
56- apiKey : DEMO_API_KEY ,
50+ // model: DEMO_MODEL,
51+ // baseURL: DEMO_BASE_URL,
52+ // apiKey: DEMO_API_KEY,
5753 } )
5854 window . pageAgent = pageAgent
5955 }
You can’t perform that action at this time.
0 commit comments