Skip to content

Commit 95ee3a1

Browse files
authored
Merge pull request #13 from All-Hands-AI/fix/example-hardcoded-model-settings
Fix example app to use user settings instead of hardcoded values
2 parents 255a412 + 8875a53 commit 95ee3a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

example/src/components/ConversationManager.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,8 @@ export const ConversationManager: React.FC = () => {
7979
const agent: AgentBase = {
8080
name: 'CodeActAgent',
8181
llm: {
82-
model: 'gpt-4o-mini',
83-
api_key: settings.apiKey || '',
84-
base_url: 'https://api.openai.com/v1'
82+
model: settings.modelName,
83+
api_key: settings.apiKey || ''
8584
}
8685
};
8786

0 commit comments

Comments
 (0)