Skip to content

feat: read custom models from ~/.claude/settings.json#294

Open
zhilu-tang wants to merge 1 commit intogetpaseo:mainfrom
zhilu-tang:feat/read-custom-claude-models
Open

feat: read custom models from ~/.claude/settings.json#294
zhilu-tang wants to merge 1 commit intogetpaseo:mainfrom
zhilu-tang:feat/read-custom-claude-models

Conversation

@zhilu-tang
Copy link
Copy Markdown

Summary

  • Add readCustomModelFromSettings() to parse ~/.claude/settings.json
  • getClaudeModels() now returns async and includes custom model at the top
  • Custom model is only added if not already in built-in list
  • Errors are silently ignored (settings.json may not exist)

Testing

Verified that paseo provider models claude now shows the custom model from settings.json.

- Add readCustomModelFromSettings() to parse ~/.claude/settings.json
- getClaudeModels() now returns async and includes custom model at the top
- Custom model is only added if not already in built-in list
- Errors are silently ignored (settings.json may not exist)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant