OpenUI let's you describe UI using your imagination, then see it rendered live.
48 matches across 7 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/openui/server.py | 355 | except Exception as e: |
| LOW | backend/openui/server.py | 399 | except Exception: |
| LOW | backend/openui/server.py | 407 | except Exception: |
| LOW | backend/openui/server.py | 417 | except Exception: |
| LOW | backend/openui/server.py | 425 | except Exception: |
| MEDIUM | backend/openui/server.py | 394 | def get_openai_models(): |
| MEDIUM | backend/openui/server.py | 404 | def get_ollama_models(): |
| MEDIUM | backend/openui/server.py | 412 | def get_groq_models(): |
| MEDIUM | backend/openui/server.py | 422 | def get_litellm_models(): |
| LOW | backend/openui/litellm.py | 117 | except Exception as e: |
| LOW | backend/openui/ollama.py | 75 | except Exception as e: |
| LOW | backend/openui/ollama.py | 96 | except Exception as e: |
| MEDIUM | backend/openui/ollama.py | 80 | def generator(): |
| LOW | backend/openui/__main__.py | 25 | except Exception as e: |
| LOW | backend/openui/tui/code.py | 62 | except Exception: |
| LOW | backend/openui/eval/prompt_to_img.py | 39 | except Exception as e: |
| MEDIUM | backend/openui/eval/prompt_to_img.py | 40 | print(f"Error parsing frontmatter: {e}") |
| LOW | backend/openui/eval/evaluate_weave.py | 214 | except Exception as e: |
| MEDIUM | backend/openui/eval/evaluate_weave.py | 215 | print(f"Error parsing frontmatter: {e}") |
| LOW | backend/openui/eval/promptsearch.py | 250 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/openui/server.py | 220 | async def validation_exception_handler( |
| LOW | backend/openui/server.py | 266 | async def generic_exception_handler(request: Request, exc: Exception): |
| LOW | backend/openui/util/screenshots.py | 16 | async def set_window_size_for_screenshot(page, target_width, target_height): |
| LOW | backend/openui/tui/code.py | 48 | def on_directory_tree_file_selected( |
| LOW | backend/openui/tui/markdown.py | 116 | def action_toggle_table_of_contents(self) -> None: |
| LOW | backend/openui/eval/promptsearch.py | 78 | def _extract_new_prompt_from_response(self, response: str) -> str: |
| LOW | backend/openui/eval/promptsearch.py | 108 | def mutate_template_with_learnings(self, prompt_template: str, learning_list: list) -> str: |
| LOW | backend/openui/eval/promptsearch.py | 165 | def get_learnings_from_random_rows(self, score_dataset_rows: list) -> list: |
| LOW | backend/openui/eval/promptsearch.py | 181 | def get_learnings_from_best_vs_random_rows(self, score_dataset_rows: list) -> list: |
| LOW | backend/openui/eval/promptsearch.py | 257 | def get_learnings_from_dataset_rows(self, dataset_rows: list) -> list: |
| LOW | backend/openui/eval/promptsearch.py | 262 | def _eval_prompt_model_on_dataset(self): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/openui/server.py | 112 | |
| LOW | backend/openui/server.py | 312 | |
| LOW | backend/openui/server.py | 455 | |
| LOW | backend/openui/ollama.py | 42 | |
| LOW | backend/openui/__main__.py | 14 | |
| LOW | backend/openui/eval/prompt_to_img.py | 23 | |
| LOW | backend/openui/eval/to_fine_tune.py | 100 | |
| LOW | backend/openui/eval/evaluate_weave.py | 197 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | backend/openui/ollama.py | 16 | # data: {"id":"chatcmpl-8omUbwmXu2rsLNcpMQWB0Q9gm0RHZ","object":"chat.completion.chunk","created":1707113497,"model":"gp |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | backend/openui/logs.py | 8 | # Create a handler for the logger (you may need to adapt this based on your needs) |
| MEDIUM | backend/openui/logs.py | 14 | # Create a formatter and set it for the handler |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | backend/openui/dummy.py | 6 | |
| LOW | backend/openui/util/__init__.py | 2 | |
| LOW | backend/openui/util/__init__.py | 3 | |
| LOW | backend/openui/eval/evaluate_weave.py | 10 | |
| LOW | backend/openui/eval/promptsearch.py | 9 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | frontend/playwright.config.ts | 61 | // }, |