Comments (13)
thanks for the help! this is very strange. calling in friends from modal
from developer.
hey @sanxfxteam - we had a look and think it was a transient network issue on your end or on Modal's end or on OpenAI's end. we reallyhave no way of knowing. @gerred reran everything and couldnt repro. please let reopen this issue if the problem persists and send us your prompt!
from developer.
I suspect it might be this. Would be nice to have a client-side timeout for the chat completion. I can try and add that in a little bit :)
from developer.
from developer.
@sanxfxteam If you run into it again and it's repeatable for a given prompt, send it over and I'm happy to investigate and provide some guidance. At least over in local LLM land with very low temperatures I can repro issues where models either get stuck in repeat loops or don't provide parseable tokens to move forward, and these issues can still happen with SOTA models. Don't think this is a smol or Modal issue.
from developer.
We have broken up the program into per-file g
src/templates/ai_recommendation.html
{% extends "base.html" %}
{% block content %}
AI-Powered Prediction & Recommendation
Discover new Pokemon based on your preferences and search history.
from developer.
same error
from developer.
this is my prompt Title: PokeFinder App
Description: Discover, track and collect detailed information about your favorite Pokemon with the PokeFinder App. Leverage the power of artificial intelligence to find and learn about the Pokemon you love.
Objective: The objective of the PokeFinder App is to help Pokemon enthusiasts explore, discover, and learn about their favorite Pokemon characters. Users can search and track these creatures, collect detailed information, and enjoy an engaging, fun experience as a Pokemon fan.
Key Features:
-
Search Functionality: Quickly and easily search for Pokemon by their names, types, abilities, or other criteria such as generation or region.
-
Pokemon Profiles: Access comprehensive profiles for each Pokemon, including their stats, abilities, evolutions, moves, and other essential information.
-
Custom Tracking & Collection: Keep track of the Pokemon you've found, build your collection, and share it with friends or rival collectors.
-
Augmented Reality (AR) Integration: Discover and interact with Pokemon in real-time using your smartphone camera. Bring your favorite creatures to life and watch them battle in virtual environments.
-
AI-Powered Prediction & Recommendation: With the help of AI technology, get smart recommendations on which Pokemon you might like based on your search patterns, preferences, and already captured ones.
-
Event Notifications & Alerts: Stay informed about special limited-time events, like tournaments, shiny Pokemon appearances, or egg hatching events.
-
Social Connectivity: Chat with other users, join fan clubs, organize friendly battles, or share your findings with the PokeFinder community.
-
Educational Mode: Learn more about Pokemon, their habitats, and origins through an in-app interactive encyclopedia, featuring detailed information and fun facts.
Additional Requirements:
- Responsiveness on various devices (smartphones, tablets, and desktop computers)
- Compatibility with iOS and Android platforms
- Security measures to protect user data and privacy
The "assets/images/" directory is meant for storing image files, not code. Therefore, there is no code to generate for
this directory. Instead, you would place image files such as PNG, JPEG, or SVG files in this directory to be used within
the PokeFinder App.
we added some usecase specific code in there to skip destroying/regenerating them,
Success Metrics: - User engagement rate: number of daily active users, time spent within the app, repeat usage
- Conversion rate: number of casual users turning into dedicated collectors
- Growth rate: increase in new users and app downloads within a specified time frame
- Community impact: interaction between users, content sharing, collaborations, and app ratings
- User satisfaction: positive feedback and reviews from users about the app's usability, features, and reliability
from developer.
I was having the image issue where it would crash beacause it cant tell if it needs to create images,
from developer.
now I am getting 300 sec rate limit error
from developer.
422 tokens in prompt:
We have broken up the program into per-file g...
Task's current input in-OUvrOt7AEKM2HJVJ0EXHwK hit its timeout of 300s
Task's current input in-fpmlE8J0PpO5qHGldKdCmM hit its timeout of 300s
Task's current input in-amM44X0IGw3JRgrXl2g960 hit its timeout of 300s
Task's current input in-K4cKc9jAnXOOYHsACQF4N1 hit its timeout of 300s
Task's current input in-RpmCAIbZ8C6ubeMVYXLjoB hit its timeout of 300s
Task's current input in-JQmD2kl0b3qFqV0WywOWX3 hit its timeout of 300s
Task's current input in-1MY5h2VYW1Sr2i8SxCkkFO hit its timeout of 300s
Task's current input in-dnAqAaeO5VIbzl90PpRKaI hit its timeout of 300s
Task's current input in-6EIhtvVlsN5sJlJSaW121O hit its timeout of 300s
Task's current input in-sYTxCL4TzunpNGto7RidWB hit its timeout of 300s
Task's current input in-dy39ueGmqQpHfZjFWcVgA4 hit its timeout of 300s
Task's current input in-WBuBsu3YRZ1CdkfCDx2Bbe hit its timeout of 300s
Task's current input in-wN5Q93cRTSDUGaLHbXzapx hit its timeout of 300s
Task's current input in-wk6Nwk3yGJLJbSW0NBdK53 hit its timeout of 300s
Task's current input in-LUY2w3lmqK1XQgd8mLi0Cg hit its timeout of 300s
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Task's current input in-X5pz2LeQfFIRygfZXUiAbX hit its timeout of 300s
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Task's current input in-DUttWWacPjEH3iCEfWh0e5 hit its timeout of 300s
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Task's current input in-Agub759Qte1bCjtFqPrQDF hit its timeout of 300s
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Task's current input in-8uyz6zSISdztXkLjHnENrR hit its timeout of 300s
Task's current input in-iQ49BRhMJXl4c8VljKldTi hit its timeout of 300s
Task's current input in-1iPfxyhnjceEgu5J7oOHIG hit its timeout of 300s
Task's current input in-VnDQbngSFhPiPlR2DkEXTK hit its timeout of 300s
Task's current input in-yGSQnQ2tDuWPUK39kLbdAT hit its timeout of 300s
Runner terminated, in-progress inputs will be re-scheduled
Task's current input in-ZMullIUJhxeqlDaAugKgg1 hit its timeout of 300s
Task's current input in-uhzaLbc3xAVhNN82sRzXnk hit its timeout of 300s
Task's current input in-V6trTx9X3BVqLwn0Gcwpxk hit its timeout of 300s
Task's current input in-hW4mZr6GGHPmiddFeZe8f0 hit its timeout of 300s
Task's current input in-DIqVeGjAmqj9cYHhHmUg3z hit its timeout of 300s
Task's current input in-imMVvAMTNdM6pTFs18oI4I hit its timeout of 300s
Task's current input in-PzBJ3JWiAWSFm6d8yEo3zo hit its timeout of 300s
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
Runner terminated, in-progress inputs will be re-scheduled
I also repeatedly run into this when trying to generate an app. I'm using gpt-4.
from developer.
I had this with a large fairly complicated prompt and I figured this out. you have to update the main.py file and change @stub.function() to @stub.function(timeout=30000) This is for the API call to modal to update the timeout for the full program build length
and update any other timeouts in the four files anthropic.py, main.py, debugger.py, code2prompt.py These are for the API calls to ChatGPT, I set these to
initial_delay=20.0,
),
concurrency_limit=3,
timeout=3000,
and that seems to have done it for my api calls hitting limits.
Hope it helps you guys!
from developer.
thanks @JeffreyBoehme !
from developer.
Related Issues (20)
- Please add releases HOT 1
- No Module named 'openai' HOT 5
- args not defined error HOT 2
- stream_handler error: 'content' {} ←[0m ←[0m ←[0m ←[0m ←[0m ←[0m
- NameError: name 'args' is not defined HOT 3
- pip install modal-client error
- OpenAI key error HOT 4
- JavaScript files contain code fences
- Add a new feature - test and debug to create self-healing code
- Timeout issue
- Error: The system cannot find the file specified. HOT 1
- Can anyone fix the Basic Usate in Git Repo mode? HOT 1
- PyPI Package is Broken
- Run demo through pip package, no response, no output, no error reported, program automatically ends HOT 1
- Is there a way to bind with azure openai?
- Errors when running `poetry run python main.py --prompt "poetry prompt"`
- Feature Proposal: New feature proposal HOT 1
- Test
- how to use codellama instead of openai api? HOT 3
- can someone update this with a dockerfile for ubuntu 22.04 so we can run this? currently it doesnt work
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from developer.