README.md update. - #24
Conversation
Greptile OverviewGreptile SummaryThis PR significantly improves the README with a comprehensive walkthrough that guides users through creating a complete project ( Key changes:
Critical issue: Confidence Score: 2/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant CLI as dspy-cli
participant Project as Project Files
participant Server as HTTP Server
participant LLM as Language Model
User->>CLI: dspy-cli new cms-kit
CLI->>User: Interactive setup prompts
User->>CLI: Provide program name, signature, model
CLI->>Project: Create project structure
CLI->>Project: Generate signatures/
CLI->>Project: Generate modules/
CLI->>Project: Create dspy.config.yaml
CLI->>Project: Create .env with API keys
User->>CLI: cd cms-kit && dspy-cli serve
CLI->>Project: Scan modules/ directory
Project-->>CLI: Return discovered modules
CLI->>Server: Start HTTP server on :8000
Server-->>User: Web UI available
User->>Server: POST /SummarizerPredict
Server->>Project: Load module & signature
Project->>LLM: Send prompt with blog_post
LLM-->>Project: Return summary
Project-->>Server: Return response
Server-->>User: JSON response
User->>CLI: dspy-cli generate scaffold tagger
CLI->>Project: Create tagger signature
CLI->>Project: Create tagger module
CLI->>Server: Hot reload detected
Server->>Project: Rescan modules/
Server-->>User: New /TaggerPredict endpoint
|
| ```bash | ||
| Enter your model (LiteLLM format): | ||
| Examples: 'anthropic/claude-sonnet-4-5', 'openai/gpt-4o', 'ollama/llama2' | ||
| Model [openai/gpt-5-mini]: openai/gpt-5-mini |
There was a problem hiding this comment.
syntax: openai/gpt-5-mini does not exist yet. Replace with an actual OpenAI model like openai/gpt-4o-mini
| Model [openai/gpt-5-mini]: openai/gpt-5-mini | |
| Model [openai/gpt-4o-mini]: openai/gpt-4o-mini |
Prompt To Fix With AI
This is a comment left during a code review.
Path: README.md
Line: 60:60
Comment:
**syntax:** `openai/gpt-5-mini` does not exist yet. Replace with an actual OpenAI model like `openai/gpt-4o-mini`
```suggestion
Model [openai/gpt-4o-mini]: openai/gpt-4o-mini
```
How can I resolve this? If you propose a fix, please make it concise.| default: openai:gpt-5-mini | ||
|
|
||
| # Model registry - define all available models here | ||
| registry: | ||
| openai:gpt-5-mini: | ||
| model: openai/gpt-5-mini | ||
| model_type: chat | ||
| max_tokens: 16000 | ||
| temperature: 1.0 | ||
| env: OPENAI_API_KEY |
There was a problem hiding this comment.
syntax: openai:gpt-5-mini references a non-existent model. Update to use openai/gpt-4o-mini or another actual model
| default: openai:gpt-5-mini | |
| # Model registry - define all available models here | |
| registry: | |
| openai:gpt-5-mini: | |
| model: openai/gpt-5-mini | |
| model_type: chat | |
| max_tokens: 16000 | |
| temperature: 1.0 | |
| env: OPENAI_API_KEY | |
| # The default model to use if no per-program override is specified | |
| default: openai:gpt-4o-mini | |
| # Model registry - define all available models here | |
| registry: | |
| openai:gpt-4o-mini: | |
| model: openai/gpt-4o-mini | |
| model_type: chat | |
| max_tokens: 16000 | |
| temperature: 1.0 | |
| env: OPENAI_API_KEY |
Prompt To Fix With AI
This is a comment left during a code review.
Path: README.md
Line: 125:134
Comment:
**syntax:** `openai:gpt-5-mini` references a non-existent model. Update to use `openai/gpt-4o-mini` or another actual model
```suggestion
# The default model to use if no per-program override is specified
default: openai:gpt-4o-mini
# Model registry - define all available models here
registry:
openai:gpt-4o-mini:
model: openai/gpt-4o-mini
model_type: chat
max_tokens: 16000
temperature: 1.0
env: OPENAI_API_KEY
```
How can I resolve this? If you propose a fix, please make it concise.| env: OPENAI_API_KEY | ||
| ``` | ||
|
|
||
| In the `registry` list we define models, using the LiteLLM convention, like: "openai/gpt-5-mini". Here's what [Sonnet 4.5](https://www.anthropic.com/claude/sonnet) looks like: |
There was a problem hiding this comment.
syntax: Reference to fictional model in documentation text. Replace with actual model name
Prompt To Fix With AI
This is a comment left during a code review.
Path: README.md
Line: 137:137
Comment:
**syntax:** Reference to fictional model in documentation text. Replace with actual model name
How can I resolve this? If you propose a fix, please make it concise.
Updated readme to more substantive walkthrough