GPTLens icon indicating copy to clipboard operation
GPTLens copied to clipboard

Enhance Model Support with Deepseek Reasoner Integration

Open melvn opened this issue 1 year ago • 0 comments

Add Deepseek Reasoner Support for Enhanced Smart Contract Analysis

Changes Made

  • Added Deepseek Reasoner integration for improved vulnerability detection
  • Implemented dual model support for flexible model selection
  • Enhanced pricing calculations to support both model families
  • Updated UI to support model selection across providers
  • Optimized model routing based on name prefix

Technical Details

  • Added Deepseek client support in model.py alongside existing functionality
  • Updated UI dropdowns to include Deepseek model options
  • Enhanced gpt_usage() with Deepseek's competitive pricing structure
  • Added Deepseek model options to argument parsers
  • Implemented intelligent model routing based on name prefix

Benefits

  • Access to Deepseek's specialized reasoning capabilities, the first instance of a reasoning model being applied to smart contract auditing
  • Extremely cost effective token costs
  • Flexible model selection based on specific use cases
  • Maintained compatibility with existing workflows and existing UI

Documentation

Updated README.md with:

  • New model option of Deepseek Reasoner
  • Multi-provider API setup instructions
  • Updated usage examples and pricing information

melvn avatar Mar 24 '25 06:03 melvn